.currentEmbeddedPagePath()

Previous Next

Returns the full path leading to the embedded page currently being browsed, that is, the embedded page within which the current script is being executed.

An embedded page is a Page control that has been dragged into another Page control or one of its child objects in the Web Designer.

If FrameControls are used, then there can be an overlap of embedded page names in the display structure; in such cases, therefore, the frame context needs to be specified.

Syntax

.currentEmbeddedPagePath( context )

The optional context indicates the frame context for which the function is called. If you are displaying pages in a FrameControl that has an id value of "ApplicationFrame", then the context for those pages is "ApplicationFrame".

 

See also

.currentEmbeddedPageName()

.getEmbeddedPageName()

.getEmbeddedPagePath()