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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

How to call a specific method

Avatar

Level 3

Hello, this is a very basic question.

I see in the nsm:delivery data schema there's a method to delete the deliveries called CleanupDeliveries

CleanupDeliveries (
String       deliveryId
)

But, how can I call it from a js page? I mean: what's the proper code to all it? I already have the list of IDs in a variable.

Thanks a lot!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

0 Replies

Avatar

Correct answer by
Community Advisor

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

Avatar

Level 3

Brilliant, Deb: you're a star!