Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

createGuidelineDocumentLink():CreateGuidelineDocumentLink
Beta

No description

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateGuidelineDocumentLinkInput
parentId: ID!
Beta

The parent ID to create the link in (Guideline or Document Group)

title: String!
Beta

The title of the link.

url: String!
Beta

The link URL

openNewTab: Boolean!
Beta

Whether the link opens in a new tab.

Beta

How the link is displayed.

Beta

Position of the icon relative to the label.

iconAssetId: ID = null
Beta

Icon taken from an asset ID; null clears the icon. Mutually exclusive with iconFileId.

iconFileId: String = null
Beta

Icon taken from an uploaded file id; null clears the icon. Mutually exclusive with iconAssetId.

Fields of CreateGuidelineDocumentLink
id:ID!
Beta

The link document's ID

title:String!
Beta

The title of the link.

url:String!
Beta

The link URL

openNewTab:Boolean!
Beta

Whether the link opens in a new tab.

How the link is displayed.

Position of the icon relative to the label.

iconAssetId:ID
Beta

Icon asset ID, if the icon comes from an asset.

iconFileId:String
Beta

Icon file id, if the icon comes from an uploaded file.