Author Topic: Add field to AG via ARSXML  (Read 2931 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Add field to AG via ARSXML
« 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
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Add field to AG via ARSXML
« Reply #1 on: March 13, 2017, 12:21:24 PM »
You tried the escape charaters? 
Code: [Select]
& # 47 ;  - remove the spaces.
J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Add field to AG via ARSXML
« Reply #2 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.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Add field to AG via ARSXML
« Reply #3 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.
J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Add field to AG via ARSXML
« Reply #4 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?
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Add field to AG via ARSXML
« Reply #5 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.
J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Add field to AG via ARSXML
« Reply #6 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.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING