Soft deletions – get the expiry time (SSJS)

@GetSoftDeleteExpireTime is an undocumented @Formula. I assume it has not  been translated (yet) into SSJS.

In case you know another way to get to the set expiry time please drop it here…

Advertisements

2 thoughts on “Soft deletions – get the expiry time (SSJS)

  1. Kevin Pettitt 2010-October-22 / 4:15 pm

    Just a thought but if you can call some LotusScript either before or after opening the XPage in question, you might be able to use Evaluate(|@GetSoftDeleteExpireTime|, doc) . I know there are other places where the mail template for example uses Evaluate with deletion-related @Functions (check the dbscript delete events).

  2. Marius 2010-October-23 / 12:03 pm

    Since SSJS can call Java you could use the Java version (getundeleteexpiretime()). But my Domino Designer Help has also a XPages Reference entry to this method.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s