You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create work everyone on widgets.
I have successfully built my first and it works
Now the million dollar question. as the widget is embedded within the page.
Any updates to the source file are only populated on new items. existing instances remain the older file.
From looking at a page export the source file is included as well as the contents of the file at that time.
"address": "http://192.169.10.198:1881/_widgets/burkert/2030_Ha.svg",
Would it be possible via script / api to have the system update the contents of the embedded from the source.
"scriptContent": updated from source file
"svgContent": Updated from source file
I was thinking of script command like widgetUpdate(Page_1);
the script would search the page for instances of "type": "svg-ext-own_ctrl-image"
then replace scriptContent & svgContent from the file specified in address ???
Normally widgets would be static but especially during development some engineer decides a change is needed.
Then every instance would need to be re-deployed to contain the latest update.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Create work everyone on widgets.
I have successfully built my first and it works
Now the million dollar question. as the widget is embedded within the page.
Any updates to the source file are only populated on new items. existing instances remain the older file.
From looking at a page export the source file is included as well as the contents of the file at that time.
"address": "http://192.169.10.198:1881/_widgets/burkert/2030_Ha.svg",
Would it be possible via script / api to have the system update the contents of the embedded from the source.
"scriptContent": updated from source file
"svgContent": Updated from source file
I was thinking of script command like widgetUpdate(Page_1);
the script would search the page for instances of "type": "svg-ext-own_ctrl-image"
then replace scriptContent & svgContent from the file specified in address ???
Normally widgets would be static but especially during development some engineer decides a change is needed.
Then every instance would need to be re-deployed to contain the latest update.
Beta Was this translation helpful? Give feedback.
All reactions