CreateLink

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Oct/2014, at 16:54

 VERSION 2.1 OR NEWER 

Description

Create a link between a page and an article so the page will contain the article. REST

Syntax

http://localhost/GNWeb/webdo.ashx?cmd=createLink

Parameters

string siteName

XmlDocument (POST)

Return

dataSet

 

 VERSION 2.0 OR OLDER

Description

Create a link between a page and an article so the page will contain the article. SOAP

Syntax

DataSet res = CreateLink(string siteName, XmlElement xmldata)

Parameters

siteName = Kentico site name where to create a page/document link

xmldata = link information

Example

<linkData xmlns="">

  <tera.gn3article xmlns="urn:schemas-teradp-com:gn4tera">

    <GN3EditorialKey>GN4_ART_2084</GN3EditorialKey>

    <ParentNodePathAlias>/News</ParentNodePathAlias>

    <SubSection>Opening</SubSection>

  </tera.gn3article>

</linkData>