Documentation > Services API > ServicesInput > SetAcquireParams(String,Boolean,Boolean)
SetAcquireParams
A shortcut for generating a ShowAcquireParams object useful for Internal links
public CrownPeak.CMSAPI.ShowAcquireParams SetAcquireParams(String,Boolean,Boolean)
Returns
ShowAcquireParams object
Parameters
Name | Description | Type |
---|---|---|
_path | Set path for acquireParams.DefaultFolder | System.String |
_showUpload | Toggle acquireParams.ShowUpload | System.Boolean |
_showBrowse | Toggle acquireParams.ShowBrowse | System.Boolean |
Code Example
C#
Sample:
ShowAcquireParams docParams = ServicesInput.SetAcquireParams(asset.AssetPath.ToString(), flase, true); Input.ShowAcquireDocument("Select Document","Acquire_Doc", docParams);