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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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?
Views
Replies
Total Likes