Click or drag to resize

IReferenceGetPageFilePath Method

Gets the specified page's file path. For design-time, this changes based on if the page is checked out, who it is assigned to, and which version is marked for the current publishing target.

Namespace:  Ingeniux.Runtime.Reference
Assembly:  IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax
string GetPageFilePath(
	string pageId,
	IPublishingTarget pubTgt = null,
	bool isMofo = false,
	bool useCheckedOutFile = false,
	HttpRequestBase request = null
)

Parameters

pageId
Type: SystemString
ID of the page to get the file path for
pubTgt (Optional)
Type: IPublishingTarget
(Optional) The current publishing target. Null by default
isMofo (Optional)
Type: SystemBoolean
(Optional) If publish is an MFO publish. False by defualt.
useCheckedOutFile (Optional)
Type: SystemBoolean
(Optional) If checked out files should be used. If the page is assigned to the current user this will be overwritten to true. False by default.
request (Optional)
Type: System.WebHttpRequestBase
(Optional) The HTTP request used to fetch the current user ID. Null by default.

Return Value

Type: String
Physical location of page file, or null if the page doesn't exist
See Also