View Full Version : Configuration parameters as Map & List
01-08-2009, 04:18 PM
Is it possible to get Maps and/or Lists as part of the extension configuration parameters? I've tried but can't figure it out - I seem to just get strings.
01-08-2009, 05:49 PM
Configuration parameters are always strings. But you can use string.deserialize (http://wiki.developer.mindtouch.com/DekiScript/Reference/DekiScript_Functions_and_Variables/String.Deserialize) to convert a string into a data structure.
01-09-2009, 12:05 PM
Sorry, I should have more specific. My extension is written in C#. Is there a ready option here?
01-09-2009, 02:16 PM
Never mind, I figured out I can do the same with DekiScriptLibrary.StringDeserialize.
Thanks for the help.
01-12-2009, 10:37 PM
Yep, that's the way to go.
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.