Function: layout.GetOne

Returns a LayoutDoc object

Syntax

{
	"method": "layout.GetOne",
	"params": {
		"id": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<LayoutDoc> GetOne( AdvString id );
public Task<LayoutDoc> GetOneAsync(string id, CancellationToken ct = default);
getOne(id: string): Promise<LayoutDoc>;

Parameters

id : string

The unique ID of the layout

Result : LayoutDoc

The matching LayoutDoc object

Errors

Layout.GetOne.FormatNotSupported

Layout file format is not supported.Additional properties:

Property Type Description
Id string The ID of the layout file
Name string The name of the layout file

Remarks

This method requires API read access.