Offline Mappings

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
alaralum
Posts:22
Joined: Mon Jan 09, 2017 9:56 am

Offline Mappings

Post by alaralum »

Hi, we need to save some mappings offline to access the content online on a UI. i.e. Customer names from our own object notations.
I think saving mappings as Datapoints is not possible. We use to create 2 dyn_strings parallely to access this "mapping" by indexing both arrays, but we are not so sure if it would be the best way to do it.

Does anyone have a better idea?
Thanks in advance!

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: Offline Mappings

Post by gschijndel »

You could encode your mapping as a json string with 'jsonEncode' and store it in a datapoint or offline and restore it with 'jsonDecode' back to a mapping.

2 posts • Page 1 of 1