EditorWrapper
Author: tzumtobel
Publication Date: 11/15/2016 16:45
Hello, community. I am writing a script for datasets realese and at some point I get an EditorWrapper Object:
-----------------------------------------------------------------------------------------------------
content2ScriptContext = (Content2ScriptContext) context;
row = content2ScriptContext.getSelectedRow();
...
referencedDatasets.add(row.getValue("contactList_DE")); <-- here
-----------------------------------------------------------------------------------------------------
"contactList" is language-specific field and is of type FS_LIST. Is there any documentation aviable for de.espirit.firstspirit.client.editorcomponent.EditorWrapper? Maybe anyone knows which methods this class has, or how to retrieve elements stored in "contactList_DE"? I would be very grateful for any piece of advice.
Viele Grüße.
Tags: database, editorwrapper, fs_list, script
-
Author: tenter - 12/1/2016 12:35
Hi Thomas,
EntityWrapper is not a public class (it's not part of our official API), so you shouldn't use it. It looks like you should better use forms instead of raw entities from databases. Here's a thread, where someone else had a similar problem https://community.e-spirit.com/message/14798#14798#14798 . Sadly, the whole thread is german - so could you please give us a hint if you need further help with this problem and/or accessing your data through forms?
Kind regards,
Hannes
0 -
Author: sebastianc - 12/14/2016 8:30
Hello Thomas,
do you need further help or did Hannes's reply already help you? If so, it would be great if you marked
his reply as "correct answer" so that other community users find the solution easily. If you have
already found a solution by yourself, it would be very kind of you, if you posted it here.
Best regards,
Sebastian
0
Please sign in to leave a comment.
Comments
2 comments