Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Not able to save attribute in delivery input form

Avatar

Avatar
Validate 1
Level 1
rupesh12
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile

Avatar
Validate 1
Level 1
rupesh12
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile
rupesh12
Level 1

18-05-2020

Hi,

 

I have created smsInformation attribute in delivery schema and added it in xpathsToLoad and xpathsToLoadOpt inside nms:delivery input form.

 

Added below code in nms:delivery input form-

<container img="xtk:text.png" label="Text content" name="tabSMS" readOnlyIf="[/tmp/@readOnly] or ([/ignored/@limitEdition] and [/ignored/@contentStatus]!=10)">
<container>
<input label="SMS Information." xpath="/@smsInformation"/>
</container>
<input fullToolbar="true" htmlMode="false" name="ctSource" nolabel="true"
type="htmlSource" xpath="../content/sms/source" xpathInsert="/ignored/customizeSMSContent">
<container>
<input menuId="deliveryMenuBuilder" type="customizeBtn" xpath="/ignored/customizeSMSContent"/>
</container>
</input>
</container>

 

Below is delivery template-

rupesh12_0-1589814943815.png

 

When I type data in SMS information attribute, save the delivery and re-open it the atrribute looks blank.

Please let me know why data not getting save in sms information attribute.

 

Thanks,

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
_Manoj_Kumar
MVP

Likes

111 likes

Total Posts

310 posts

Correct Reply

97 solutions
Top badges earned
Validate 1
Contributor
Ignite 1
Shape 1
Give Back 5
View profile

Avatar
Validate 1
MVP
_Manoj_Kumar
MVP

Likes

111 likes

Total Posts

310 posts

Correct Reply

97 solutions
Top badges earned
Validate 1
Contributor
Ignite 1
Shape 1
Give Back 5
View profile
_Manoj_Kumar
MVP

18-05-2020

Hello @rupesh12 ,

Can you please share the error you are getting while saving the input form.

i believe the error is at the xpath for smsinformation input. Can you double check if the xpath is correct?


Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
rupesh12
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile

Avatar
Validate 1
Level 1
rupesh12
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile
rupesh12
Level 1

19-05-2020

@Milan_Vucetic @_Manoj_Kumar 

 

I have sms delivery template as below-

rupesh12_0-1589903049169.png

 

 

When I type text on SMS content (like Test email) attribute it should automatically reflect on optout information, the one which I greyed out.

Could you please help here?

 

 

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

18-05-2020

Hi @rupesh12 ,

 

if you created attribute @smsInformation in the main tree in nms:delivery schema you should address it with: <input label="SMS Information." xpath="@smsInformation"/>

Before that, check if you Updated database structure (if new column is reflected to DB not only in the schema).

 

Regards,

Milan