Use the operator dropdown in a input form. | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Parvesh_Parmar
Community Advisor
Community Advisor
January 16, 2024

Hello @heku_ ,

 

If I understood your question correctly, you would like to implement a drop down option in an input form

For example, if you have a custom field 'customerClass' with three possible values ("Class1," "Class2," or "Class3"), you want to display a drop down menu in the input form, allowing users to select from these predefined values.

 

To achieve this, you need to configure the custom field as an enumeration type in the data schema. Enumerations in Adobe Campaign Classic allow you to define a set of valid values for a field.

For detailed instructions on setting up enumerations, please refer to the following links:

1.https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/schema-reference/elements-attributes/enumeration.html?lang=en

 

2. https://experienceleague.adobe.com/docs/campaign-classic/using/getting-started/administration-basics/managing-enumerations.html?lang=en

 

Once you have configured the custom field as an enumeration in the database, you can easily add it to the input form as a standard input element. The form will automatically render a drop down menu, allowing users to choose from the specified values.

If you have any further questions or need additional clarification, please let me  know.

 

Best regards,

Parvesh

Parvesh Parmar – Adobe Community Advisor https://www.linkedin.com/in/parvesh-parmar/
Heku_
Heku_Author
Level 5
January 17, 2024

Hello Parvesh thank you for your reply, I want to use this in a query as a variable

I want to put in the 'Operator' field my form path:

 

I've tried changing the LIKE in the XML source for $(/tmp/@operation) but i get the error:

Any clue?

isahore
Community Advisor
Community Advisor
January 17, 2024

Hi @heku_,

could you please elaborate more on what you are trying to achieve here?

Do you want the operator dropdown in the query activity to have a custom option in addition to what it already has?

 

BR,

Ishan