
get url of file property for use with internal rest API V2
Hello,
I would like to display the url of a file property in my frontend via the rest api V2.
The backoffice grid i'm basing this on can't show the fileproperties at all. When i try this, i get a server error popup. It looks to me the rest api doesn't know how to handle file properties.
So i managed to save the url in a text property by converting to hashes and collections a couple of times. But now i have a problem with the expires parameter of the url, because the url needs to be regenerated each page load. So my urls expire. It's okjay they expire a while after the page is loaded i guess but it's not ok my urls are expired before i load the page.
Is there a solution / workaround for this?
Kind regards,
Gerhard
Hello,
I would like to display the url of a file property in my frontend via the rest api V2.
The backoffice grid i'm basing this on can't show the fileproperties at all. When i try this, i get a server error popup. It looks to me the rest api doesn't know how to handle file properties.
So i managed to save the url in a text property by converting to hashes and collections a couple of times. But now i have a problem with the expires parameter of the url, because the url needs to be regenerated each page load. So my urls expire. It's okjay they expire a while after the page is loaded i guess but it's not ok my urls are expired before i load the page.
Is there a solution / workaround for this?
Kind regards,
Gerhard
Login to reply