Steve Babbitt
We use Articles Anywhere and Tassos Marinos Advanced Custom fields to display a list of articles with PDF links (upload field) in a table.
I've been successfully using [file output="value"] to get a raw url for over a year now. Yay Articles Anywhere!
But it looks like Tassos has possibly updated the schema, and new uploaded files are rendering this:
[{"title":"","description":"","value":"media\/acfupload\/reference\/2019-2021_SCAP_Biosolids_Trends_Update.pdf"}]
Whereas before they rendered this:
media/acfupload/reference/2019-2021_SCAP_Biosolids_Trends_Update.pdf
So, my challenge is 1) getting the array value "value" for newer items, while 2) keeping the old value for older items.
Any suggestions?
I've tried [file output="value->value"] and [file output="value[3]"]
Any direction would be greatly appreciated.