The CreatorCon Call for Content is officially open! Get started here.

Category value is shown in XML but label is not displaying

ramu1
Tera Contributor

Hi All,

 

 

 For category I created choice with label as 'Access' and value as '18'

But

When i saved From Category value '18' is shown in XML but label is not displaying please suggest 

 

 

11 REPLIES 11

ramu1
Tera Contributor

I tried keeping value and name same but it is throwing invalid integer please suggest 

Hi Ramu,

 

Typically (the majority of Out of Box) 'Category' fields are of data type String, however, there are a small number of fields where the data type is Integer - a good example is on the CSM (Customer Service Management) table.

Are you implementing this on the CSM table? Either way, if the Category field (regardless of which table it is on, or whether it's Out of Box) is of type integer,  you're ultimately restricted by this data type.

You therefore will have to select and use a unique integer for your new value.

 

To help others in the community with the same or similar question, please can you mark my reply as correct and/or helpful.

 

Thanks,

Robbie

Robbie
Kilo Patron
Kilo Patron

Hi ramu,

 

To help others in the community with the same or similar question, please can you mark my reply as correct and/or helpful.

 

Thanks,

Robbie

ramu1
Tera Contributor

Thank you @Robbie @ so much for your informatio

 

Yes you are absolutely right creating a new choice on customer service table the field which has type integer

 

But i am not able to create unique integer value please suggest as soon as possible 

Hi Ramu,

 

No worries. There should be no reason why you can't add a new choice value.

 

Can I confirm a few points that should enable this...

As you're updating the Ticket form in CSM, can you make sure you're in the right 'Scope'. Make sure you have 'Customer Service' selected in the Application picker as shown below. (screenshot 1)

Robbie_0-1670865909742.png

 

The app picker is not displayed as standard, so if it's not visible, click on the cog next to your name in the top right-hand corner, and from there select the Developer tab in the pop-up screen as shown in the second screenshot.

Screenshot 2022-12-12 at 16.58.50.png

Can you confirm you're in the right scope?

Once in the correct scope, right-click against the 'Category' field on the Ticket form and select 'Show choice list'. This will display a number of choice values so filter the results to show only choice values associated with the 'sn_customerservice_case' table - see screen shot 3.

Robbie_2-1670866194947.png

 

From here you should be able to see all of the existing values and importantly what integer values they've been associated to.

You can create anew value by clicking the 'New' button making sure the 'value' field is unique and has not been used for any existing value.

 

To help others in the community with the same or similar question, please can you mark my reply as correct and/or helpful.

 

Thanks,

Robbie