Im trying to use the data from my server connect to render in my manifest.json file.
PHP server model
The manifest is in my header.
<link rel="manifest" href="manifest.json">
At the top of my page i have <html is="dmx-app" id="as" >
Say i have dynamic data {{companydetails.data.query1[0].name}} i tried to insert this in the json file, but it renders on the page as {{companydetails.data.query1[0].name}}. but outside of the json it “renders” perfectly.
Create a Server Action and use the Group step (hopefully that’s available on PHP) and Set Value to create your JSON object, and then use Response step to return such object
thanks… but no grouping in the php… as i can get all the text in the set values… but icons need to be in a group… but thanks that almost did the trick im sure
i even moved the is=“dmx-app” to the top <html is="dmx-app" id="as">
but not working…
but thanks for you help and your insight into this issue i have … i have even tried php json encode… but all failed… ill have to search more maybe JavaScript elements id as a value…
… something very very simple with php… if you can pass a var to a page, then why not!!!
so i have gone back to this route… of php and encode json. And just passed the a few variables via the url… sometimes i overthink these stupid things…