GetResourceIdFromGuid

From Catglobe Wiki
Jump to: navigation, search

[Obsolete - Please use GetResourceUniqueIdFromGuid. More detail at ConversionMethods ]

getResourceIdFromGuid

Gets the id (the primary key value) of a resource specified by a GUID.

Syntax

getResourceIdFromGuid(guid)

Arguments

guid: Is a string expression. It is the GUI of a resource.

Return type

number

Examples

getResourceIdFromGuid("992420B1-94E4-4F83-B25C-DE601D402F5D");

//return 1: the primary key value of that //questionnaire (also a resource)

Availability

Version 4.8