Expand my Community achievements bar.

The 5th 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

2 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!