ExternalLinkManagerGetExternalLink Method |
Returns the external link for the entered information
Namespace:
PsrApi.Managers
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntaxpublic string GetExternalLink(
PsrExternalLinkType type,
Guid id,
Nullable<PsrExternalLinkType> type2 = null,
Nullable<Guid> id2 = null
)
Parameters
- type
- Type: PsrApi.Data.EnumsPsrExternalLinkType
Type of the data that should be created as external link - id
- Type: SystemGuid
Id of the data for external link - type2 (Optional)
- Type: SystemNullablePsrExternalLinkType
Type of the second data - id2 (Optional)
- Type: SystemNullableGuid
Id of the second data
Return Value
Type:
String
Examples
// Creates a link for copying the value of an item to the clipboard
var externalLink = ExternalLinkManager.GetExternalLink(PsrExternalLinkType.CopyPassword, containerItem.Id, PsrExternalLinkType.Password, container.Id);
See Also