OnDemand User Group

Support Forums => MP Server => Topic started by: jsquizz on March 13, 2017, 11:55:27 AM

Title: Add field to AG via ARSXML
Post by: jsquizz on March 13, 2017, 11:55:27 AM
Greetings all,

I am trying to add some a new field to an Application Group via ARSXML. A field that has a database value / displayed value (Trying to add a dropdown to a folder, without having to use the admin client..)

Is this possible to do? I've tried several scenarios and cannot get it to work.

Thanks in advance
Title: Re: Add field to AG via ARSXML
Post by: Nolan on March 13, 2017, 12:21:24 PM
You tried the escape charaters? 
Code: [Select]
& # 47 ;  - remove the spaces.
Title: Re: Add field to AG via ARSXML
Post by: jsquizz on March 13, 2017, 12:22:34 PM
You tried the escape charaters? 
Code: [Select]
& # 47 ;  - remove the spaces.

Thanks for the quick response. A bit confused at what you're asking. Can you possibly clarify a bit?

thanks.
Title: Re: Add field to AG via ARSXML
Post by: Nolan on March 14, 2017, 05:23:48 AM
If I understand correctly you want to put the character '/' in a field name.   Replace the / with &# 47; (again remove the space).  That should work.
Title: Re: Add field to AG via ARSXML
Post by: jsquizz on March 14, 2017, 07:41:09 AM
Here is what I am trying to do, again sorry for any confusion.

I have an application group with a field defined. Under mapping I have four "dropdowns.." setup (4 displayed values each with their database values..)

I want to add additional displayed values / db values to this field.

Is this possible with ARSXML?
Title: Re: Add field to AG via ARSXML
Post by: Nolan on March 14, 2017, 01:54:51 PM
Sorry, haven't tried that but it should be available.   What I recommend is create a test AG with two or three of the values that you want in the dropbox using the admin GUI, then use ARSXML to unload/extract that AG.  I would then either mock up the extract file to match your requirements or use it as a guide to see how to define the fields.
Title: Re: Add field to AG via ARSXML
Post by: jsquizz on March 14, 2017, 07:45:34 PM
Thanks Nolan.

I was able to accomplish this. What I did was quite simple and has a great amount of portability. I dissected the ondemand.xsd file, and played with it a few times until I got the results that I wanted.