Waiting for engine...
Skip to main content

Publishing

Data structures

FTHPublishCollectionData

Collection that contains links to published files, links to other collections, and links to external sites.

Data TypeField NameDescription
intPublishCollectionIDUnique ID of collection
intSiteIDID of the site that contains the collection
stringCollectionTitlecollection title
stringDescriptionText that describes the collection
stringLinksSubtitleSubtitle of the section that displays links to files
stringRelatedPagesSubtitleSubtitle of the section that displays links to other web pages.
stringHeaderTextText of collection web page header
stringFooterTextText of collection web page footer
boolActiveFlag is set when collection is active
DateTimeDateCreatedTimestamp of creation
IntCreatedByUserIDUser ID of creator
DateTimeDateModifiedTimestamp of modification
intModifiedByUserIDID of the user who modified the collection recently
DateTimeDateDeletedTimestamp shows when collection was deleted. NULL if collection is not deleted.
boolRequireRegistrationFlag is set if file links in the collection require registration.
boolCollectionActiveFlag is set if collection is active, same as Active.
boolCollectionVisibleFlag set if collection is visible through MFT FS publishing URL
boolSearchVisibleFlag set if search field is visible in collection
boolSearchShowResultAtStartFlag set if collection shows all links on start when search field is empty.

FTHPublishRequestData

Request to publish the file

Data TypeField NameDescription
intPublishRequestIDUnique ID of request to publish the files
FTHPublishRequestStatePublishRequestStateState of publishing request: Pending = 1, Rejected = 2, Approved = 3
intSiteIDID of MFT FS site that contains the collection.
intPublishCollectionIDID of the target collection where file(s) will be published if approved
stringCollectionTitleTitle of the target collection
intPublishLinkIDID of the file link object that points to the file
stringRequestTextText description of the request for publishing
boolUseDefaultLinkInfoFlag set if default link text and description for the file link is used. By default link text is set to file name, link description is empty.
Once default values are set for link and description can be reused with each next publishing of the file.
stringLinkTextText of the hyperlink that points to the file
stringLinkDescriptionDescription of the hyperlink that points to the file, displayed below the link
DateTimeDateCreatedCreation timestamp
intCreatedByUserIDUser ID of request creator
DateTimeDateModifiedTimestamp of last modification
intModifiedByUserIDID of s user who modified the request last
stringProcessingNoteNote for approver

FTHPublishLinkData

Published File Link object

Data TypeField NameDescription
intPublishLinkIDUnique ID of this File Link object.
Object is used to store text, URL, description and tags associated with the published file. It is different from MFT FS File object.
intSiteIDID of MFT FS site that contains the object
intRelatedFileIDID of the file published through link object
stringInternetUrlUrl to the object
stringDefaultLinkTextDefault text for hyperlink
stringDefaultDescriptionDefault description for file link
DateTimeDateCreatedTimestamp of date created
intCreatedByUserIDID of creator
DateTimeDateModifiedTimestamp of last modification
intModifiedByUserIDID of user who modified object last
FTHPublishTagData[]TagsList of tags

FTHPublishCollectionLinkData

Object: link to publishing collection

Data TypeField NameDescription
intPublishCollectionLinkIDID of this Link object. Object is used to store all information associated with link to an item inside the collection.
Item can be link to file, link to another collection or URL of external page.
intSiteIDID of MFT FS site that contains the collection link
intPublishCollectionIDID of the collection that contains the item
intPublishLinkIDID of the item, applies to files and collections so far
FTHPublishLinkTypePublishLinkTypeSupported item types
File = 1,
Collection = 2,
Internet = 3
intRelatedFileIDIf item link pints to a file, this field contains file ID
intRelatedPublishCollectionIDIf item link points to collection, this field contains collection ID
stringInternetUrlIf item link points to external URL, it is stored here.
boolUseDefaultLinkInfoFlag is set of default information should be used for the link.
stringLinkTextDefault name for the link.
stringLinkDescriptionText that describes the link.
stringCollectionTitleTitle of collection
boolCollectionVisibleIs collection visible through URL
boolCollectionActiveIs collection active
boolCollectionLinkActiveIs the link to collection active
boolRelatedCollectionActiveAre links to other collections contained in this collection active
boolRelatedCollectionVisibleAre links to other collections contained in this collection visible
DateTimeDateCreatedTimestamp when link was created in collection
intCreatedByUserIDUser ID who created the link
stringCreatedByUserNameUser Name who created the link
intRequestedByUserIDUser ID who created publishing request
stringRequestedByUserNameUser Name who created publishing request.
DateTimeDateModifiedTimestamp of the last link modification
intModifiedByUserIDUser ID who last modified the link
stringModifiedByUserNameUser name who last modified the link.

THPublishTagData

Data: text tag attached to published file

Data TypeField NameDescription
intPublishTagIDID of the tag
stringTagNameText of the tag

FTHPublishFileData

Publishing data for a file

Data TypeField NameDescription
FTHFileDataFileInfoFile descriptor
FTHPublishLinkDataFileLinkFile link descriptor
FTHPublishCollectionLinkData[]PublishingCollectionsArray of published links into different collections
FTHPublishRequestData[]PendingRequestsArray of pending requests

FTHPublishStorageData

Storage for published files in case if publishing occurs from external application like SharePoint

Data TypeField NameDescription
intApplicationIDID of external application that requested publishing
intExternalMajorLocationIDExternal ID of external top level location, like SharePoint site
stringExternalMajorLocationNameName of external top level location like SharePoint site
intExternalMinorLocationIDID of external low level location like SharePoint library
stringExternalMinorLocationNameName of external low level location like Sharepoint library
intExternalFileIDID of the file in external system
intPublishingFolderIDID of the folder to store published files uploaded from external system
intThruFileIDID of the file in MFT FS
On this Page