Expand my Community achievements bar.

SOLVED

Updating name field length on the xtk:group schema from 64 to 128

Avatar

Level 2

Hello!

 

I am following instructions given to add a new named right and need to update a field length for the xtk:group name field from 64 to 128 bytes. I am working from the Adobe documentation for campaign classic v7.

I am not able to get this work. The group table isn’t listed for update when I perform the step ‘Update the data structure’.

Here is the process I followed:

  1. Create a new schema > select 'extension of a schema' > schema:xtk:group
  2. Add this to the script changing the length from 64 to 128.

<attribute defOnDuplicate="true" default="GetOption('XtkInstancePrefix')+Iif(@type=0, 'LOGIN', Iif(@type=1, 'GRP', 'RIGHT'))+CounterValue('xtkOperator')"

label="Name" length="128" name="name" required="true" type="string"/>/&gt;

  1. Save
  2. Update the database structure

On the edit table step it does not show the change or update for xtk:group. This screen shot is taken from Adobe documentation as an example.

MaryWa1_0-1725981756279.png

This is as far as I have gone in the process since it will not recognize that the group schema needs updating.

Also, here are a couple of helpful discussions on EL that I reviewed as well: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/can-activity-name-...

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/access...

 

Can someone advise on what I’m missing?

Thanks!

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

I resolved this issue. I repositioned the change between the element tags as below and it worked.

 

<element desc="Application operator groups" img="xtk:group.png" label="Operator groups"
labelSingular="Operator group" name="group">
<attribute defOnDuplicate="true" default="GetOption('XtkInstancePrefix')+Iif(@type=0, 'LOGIN', Iif(@type=1, 'GRP', 'RIGHT'))+CounterValue('xtkOperator')"
label="Name" length="128" name="name" required="true" type="string"/>/&gt;
</element>

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

I resolved this issue. I repositioned the change between the element tags as below and it worked.

 

<element desc="Application operator groups" img="xtk:group.png" label="Operator groups"
labelSingular="Operator group" name="group">
<attribute defOnDuplicate="true" default="GetOption('XtkInstancePrefix')+Iif(@type=0, 'LOGIN', Iif(@type=1, 'GRP', 'RIGHT'))+CounterValue('xtkOperator')"
label="Name" length="128" name="name" required="true" type="string"/>/&gt;
</element>