ProjWBSService.setLockBoxFilename Method [AX 2012]

Sets the file name and file path to preserve link information

public void setLockBoxFilename(
    str hierarchyId, 
    MSPIntegrationType lockBoxType, 
    str filePath, 
    str fileName, 
    boolean linkToCollabSite, 
    RecId projRecId, 
    str siteUrl, 
   [boolean replaceExisiting])

Run On

Server

Parameters

hierarchyId
Type: str
The Hierarchy you are working with
lockBoxType
Type: MSPIntegrationType Enumeration
The lockbox type, SHarepoint/Archive directory
filePath
Type: str
The location where the file is stored
fileName
Type: str
The name of the file
linkToCollabSite
Type: boolean
The variable indicating if the collaboration site needs to be linked
projRecId
Type: RecId Extended Data Type
The projRecId to link the collaboration site to
siteUrl
Type: str
The Url of the collboration site
replaceExisiting
Type: boolean
Specify if an exisiting file link is to be overwritten

Community Additions

ADD
Show: