Update

Overview 

Updates the specified attributes of the specified Portfolio object

Syntax 

Update(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredAttributes to change for Portfolio object

Example 

This sample code updates the name attribute of the portfolio object to the specified value:

1var portObj = Portfolio.Init('myPortfolioCK');
2var status = portObj.Update({ DisplayName : "Updated SSJS Image"});