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

SOLVED

Usage of NodeValue function

santosh2132
Level 1
Level 1

Hi All

I would like to know NodeValue () usage .

Syntax :- NodeValue (<String>, <String>) 

 

However if someone can explain the specific example , if i have to extract "Sender Address" from nmsdelivery.mailParamaters using NodeValue , can i do that ?

 

I am aware of JS way of extracting data from xml but need to know if this function can do the same task.

 

1 Accepted Solution
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Args are xpath, field.

Sender address is NodeValue('mailParameters/senderAddress', data), or just [mailParameters/senderAddress] -no NodeValue() needed.

 

Thanks,

-Jon

View solution in original post

2 Replies
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Args are xpath, field.

Sender address is NodeValue('mailParameters/senderAddress', data), or just [mailParameters/senderAddress] -no NodeValue() needed.

 

Thanks,

-Jon

View solution in original post

santosh2132
Level 1
Level 1
Thanks Jonathon.. with the same line i am trying to extract URL saved in my delivery template (yet to be deployed) which schema & XML should store all URL links and how can i extract?