Documentation Center

DocumentObj 2.0 AddShortCut [deprecated]

AddShortCut allows to create a shortcut to an object.

The algorithm is:
  • Locate an object
  • Create a shortcut for this object in a reference folder

Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
psDocIdStringInThe logical identifier of the object
psToRefFolderIdStringInThe identifier (folder id) of the reference folder in which the shortcut is created

Requirements are:
  • The user must have write access to the reference folder in which the shortcut is created.
  • The user must have read access to the object.
Note that:
  • All logical identifiers within Content Manager are in uppercase.