Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Resource getResourcesProperties

From Catglobe Wiki

Resource_getResourcesProperties

Get properties of multi resources

Syntax

Resource_getResourcesProperties(array resourceRId);

Arguments

resourceRId: array ResourceId of resources you what to get properties

Return type

Dictionary, where:

Key is resourceRId of resources on input array which has at least one property value

Value is array of properties of the resource. Same structure when you use Resource_getResourceProperties

Example

Dictionary d = Resource_getResourcesProperties({123,456,789});
/*
{
	"123": {
		{10,1,number,1,38900},
		{10,2,boolean,True,38901},
		{10,3,string,xxx,38902},
		{10,4,datetime,{2020,6,2,7,0,0,0,23,65},38903},
		{10,5,single,1,38904},
		{10,6,multi,{1,2},38905},
		{10,7,resource,15536784,38906}
	},
	"789": {{10,1,number,1,38907}}
}
*/
print(d.Keys);//{123,789} 456 is not a key because of lacking property or lacking value on property