Can we add parameter to ACM-OOTB Service and Subscription UI? | Community
Skip to main content
Level 2
Sep 5, 2018 5:59 AM UTC
Solved

Can we add parameter to ACM-OOTB Service and Subscription UI?

I have a requirement to add a custom field with a textbox in the below Service and subscription UI.

I tried to add a field in the OOTB-input form "Service subscription wizard" in path : /Administration/Configuration/Input forms/.

But couldn't possibly do it.

Just wanted to know whether it s it feasible to add a new field to this UI or can we extend this UI?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vraghav
vraghavAccepted solution
Employee
Sep 5, 2018 8:33 AM UTC

Hi sonikad8559822,

Extend the schema nms:service with the field of choice

go to input form nms:service and make the modification at a location of choice. I've added it here

The form looks like this

Regards,
Vipul

5 replies

Level 2
Sep 7, 2018 9:39 AM UTC

But I don't want any enumeration value, I want to do select query using the result received want to populate the values in drop-down. Is it feasible?

Translate
vraghav
Employee
Sep 5, 2018 11:37 PM UTC

There is already a link between recipient and service through subscription table. It is a N:N link. Changing it to make a direct link needs to be tested.

Why not create a system enum?

Regards,

Vipul Raghav

Sent from Mobile

Please excuse brevity

Translate
possibleLucas
New Participant
Sep 5, 2018 7:31 PM UTC

Hey sonikad8559822,

I think it's possible. You will just have to create a link between your cus:recipients and your cus:services tables.

For drop-down fields: they are displayed on visual query editor when the field has the enumeration property set. So, in order to do that, you will have insert the following lines into your cus:services schema:

<enumeration basetype="string" name="forumInput">

     <value label="Label of your 1st value" name="nameOfYourFirstValue" value="0"/>

     <value label="Label of your 2nd value" name="nameOfYourSecondValue" value="1"/>

     <!-- You can create more lines inside this enumeration -->

</enumeration>

Then, on your attribute label, you can add the enum field just as the following:

     <attribute enum="forumInput" label="Forum Input" name="forumInput" lenght="40" type="string"/>

I think it should work.

Vipul Raghav​, would it?

Regards,

Lucas.

Translate
Level 2
Sep 5, 2018 10:45 AM UTC

Thanks Vipul it worked

Tell me one thing is there any way where I can query to nms:recipient schema(for example) and get list of values against "Forum Input" field in a drop-down and use it for further process?

Vipul Raghav​

Translate
vraghav
vraghavAccepted solution
Employee
Sep 5, 2018 8:33 AM UTC

Hi sonikad8559822,

Extend the schema nms:service with the field of choice

go to input form nms:service and make the modification at a location of choice. I've added it here

The form looks like this

Regards,
Vipul

Translate