Custom attribute in

Custom attribute in

  

hi there, 

I add a new custom attribute "data_app_id" of a screen element by putting javascript in the screen javascript property:

The data_app_id value is shown in the script above.

However, when i try to access using extended property in a button widget onclick, it alerts "undefined":


How to access the data_app_id value from a button?


regards,

bb

 


Forum Bug..

I tried to write title "Custom attribute in <script> element".. Unfortunately the FORUM truncates my title.:(

regards,

bb

Hi Barong,

I would strongly advise against doing things like this. Why do you need to do this?

Hi Kil,

It comes from other OP's forum posting and i do not know the reason:

https://www.outsystems.com/forums/discussion/32388/add-script-to-head-element/

and when i try to get the value... i am fail.

regards,

bb