AMPscript
Add
Remove
Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Updates the specified attributes of the specified Portfolio object
Update(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Attributes to change for Portfolio object |
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"});