Difference between revisions of "GetResourceTypeFromGuid"
(jrfconvert import) |
|||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Resource_Functions]] |
| | ||
Revision as of 05:23, 23 March 2011
getResourceTypeFromGuid
Gets the type of a resource specified by a GUID.
Syntax
getResourceTypeFromGuid(guid)
Arguments
guid: Is a string expression. It is the Guid of a resource.
Return type
number
The list of enumerations that may be turned are:
Type |
Resource_Type_User |
Resource_Type_Group |
Resource_Type_ReportTemplate |
Resource_Type_Project |
Resource_Type_Folder |
Resource_Type_QuestionnaireTemplate |
Resource_Type_Attachment |
Resource_Type_Questionnaire |
Resource_Type_Report |
Resource_Type_MessageTemplate |
Resource_Type_Image |
Resource_Type_Layout |
Resource_Type_Product |
Resource_Type_MessageFolder |
Resource_Type_EmailAccount |
Resource_Type_Diagram |
Resource_Type_Asset |
Resource_Type_Facility |
Resource_Type_Company |
Resource_Type_OrganizerRule |
Resource_Type_WorkFlow |
Resource_Type_LayoutTemplate |
Resource_Type_Coding |
Resource_Type_ExportJob |
Resource_Type_Task |
Resource_Type_DataCacheSpecification |
Resource_Type_TaskSet |
Resource_Type_PaperQuestionnaire |
Resource_Type_SampleRequest |
Resource_Type_BulkMail |
Resource_Type_Function |
Resource_Type_DCSExport |
Resource_Type_TestCase |
Resource_Type_BulkSms |
Resource_Type_System Examples getResourceTypeFromGuid("3B1D1EB0-5019-42B5-AFF7-00000644B12A"); //return 20 Availability Version 4.8 Form Version 5.3 it returns a number instead of as prior to this, a string.
|