Difference between revisions of "GetResourceIdFromGuid"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Resource_Functions]]
 
[[Category:Resource_Functions]]
{{HelpFiles}}
+
[Obsolete - Please use [[GetResourceUniqueIdFromGuid|GetResourceUniqueIdFromGuid]]]
  
 
====getResourceIdFromGuid====
 
====getResourceIdFromGuid====

Revision as of 11:23, 12 May 2022

[Obsolete - Please use GetResourceUniqueIdFromGuid]

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