Ticket Created
over 4 years ago

WERETECH-11175

set/getProperty deprecate on sdk 4?

In current doc something has changed!!

Previous information: some function (e.g. deleteProperty) was planned to remove but not set/get.

My app run well and there are values in sim Application.AppBase.Data.

So, is documentation correct?

I have some strange app behaviour on sim:

- settings don't change

- memory peaks

- console  message "Unable to serialize app data"

- resetting settings to default

can be connected with any changes in sdk 4?

Parents
  • why i can't paste images in forum?

    sim - venu 2/2s

    - after reseting sim data my Application.AppBase.Data is empty

    - after using setProperty is filled, so on sim (sdk 4.1) everything run as previous

    I read doc a thousand times and remember about some deprecating function and not set/getProperty, nobody remove function from sdk without notice

    I don't have got venu 2/2s so I can't check if my wf run well on it, nobody noticed me that there is no data saved by setPropery but maybe nobody download my wf.

Comment
  • why i can't paste images in forum?

    sim - venu 2/2s

    - after reseting sim data my Application.AppBase.Data is empty

    - after using setProperty is filled, so on sim (sdk 4.1) everything run as previous

    I read doc a thousand times and remember about some deprecating function and not set/getProperty, nobody remove function from sdk without notice

    I don't have got venu 2/2s so I can't check if my wf run well on it, nobody noticed me that there is no data saved by setPropery but maybe nobody download my wf.

Children
  • And next, when I choose [view] from sim
    - I can see mProperties (my data stored by setProperty). Can I assume that mProperties is always in memory and there is no peak reading it but simple use value from dictionary - if there is an error in sdk I can write may own function prevent it.
    - I can see also <Application Settings> - is it possible to access this data directly? It is Obj # 255 it should be somewhere variable.

  • And, if getProperty is deprecated how to read users's settings?