Skip to main content
Solved

How to expose GIS domains as a published parameter

  • June 5, 2019
  • 2 replies
  • 22 views

Forum|alt.badge.img

Hi everyone,

I'm creating a workbench for myself and others in my team to use to translate XMLs to a geodatabase. In this model I'm adding additional fields (than in the XML) to match our GIS SDE schema. I've imported the fields from SDE in Attribute Manager and mostly mapped their values from the XML. However for two of the fields, I want the user to enter a published parameter before running the script as these values are not contained in the XML. One of these fields has a domain set up in GIS. I would like the user to get the drop down from the SDE domain when entering the parameter.

Eg in the image below I want whoever runs the script to get a list of companies from our SDE domain rather than manually typing in the company name.

EG

Does anyone know if this is possible. Any guidance would be appreciated.

Thank for you time,

Anne

Best answer by virtualcitymatt

If you know what values they can be then you can create a parameter with the 'Choice (Multiple)' type. Then you can configure a drop down list. (this means that with each new domain added you will need to add it to the choice list which is pretty annoying)

 

 

If, however, you want to have this list be dynamic based on the other set parameters then I don't think that's possible. It's a great idea though and you should head over to the 'ideas' section and outline how you think this would look.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • Best Answer
  • June 5, 2019

If you know what values they can be then you can create a parameter with the 'Choice (Multiple)' type. Then you can configure a drop down list. (this means that with each new domain added you will need to add it to the choice list which is pretty annoying)

 

 

If, however, you want to have this list be dynamic based on the other set parameters then I don't think that's possible. It's a great idea though and you should head over to the 'ideas' section and outline how you think this would look.

Forum|alt.badge.img
  • Author
  • 7 replies
  • June 11, 2019

If you know what values they can be then you can create a parameter with the 'Choice (Multiple)' type. Then you can configure a drop down list. (this means that with each new domain added you will need to add it to the choice list which is pretty annoying)

 

 

If, however, you want to have this list be dynamic based on the other set parameters then I don't think that's possible. It's a great idea though and you should head over to the 'ideas' section and outline how you think this would look.

Thank you @virtualcitymatt Thats really helpful!