External Element Doubt |
Post Reply |
Author | |
stevek
MetaCase Joined: 11.Mar.2008 Points: 641 |
Post Options
Thanks(0)
Posted: 28.Nov.2018 at 12:35 |
Sure, no problems here. Drop me a PM if you're having issues - most often it's just a question of the settings of the SOAP framework at the other end.
|
|
Marros
New Poster Joined: 27.Nov.2018 Location: Raleigh, NC Points: 1 |
Post Options
Thanks(0)
|
Hi Steve, are you using the SOAP Fixed List widget yourself? Did you encounter any issues with it?
|
|
I think these devices are the best solution to snoring so check them out.
|
|
stevek
MetaCase Joined: 11.Mar.2008 Points: 641 |
Post Options
Thanks(0)
|
You can do that by using a String data type with a Fixed List widget, choosing Edit as Text for the values, and paste (or File | Insert File...) the file contents (which should be one per line). If you want to change the set of available values, just repeat.
If you want the set of values to be read on the fly each time the user is filling in such a property, you can use a SOAP Fixed List widget. You can then code whatever you want for the web service, e.g. to read a text file, fetch something from a database, grab some JSON from a REST service on the net etc. (External Element widgets are for something different: their value is a URL or file name, so a model element can refer to an external file, and the modeller can easily open the target from the popup menu.)
|
|
cmorais
Contributor Joined: 23.Mar.2018 Location: Ireland Points: 12 |
Post Options
Thanks(0)
|
I think it's a silly doubt, but I can't figure out yet. So, I have a list of itens in a text file... I wish I could load it as a itens for a object. As in "Volvo, ford, VW, FIAT", and when I create a new "Car" object, I can choose the "manufacturer" attribute from a list from this external file. I looked all the external element property element, but I can't find a way to do this... Is it possible?
|
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |