Plug-in Show page by GUID

With this plug-in can easily find a page by the GUID. You get the page ID, headline and content class or a message that the GUID is not a valid page. The page could be found, even it is in the recycle bin.

If the page GUID is not valid you will get the RQL error Page GUID missing.

Benefits
This is helpful if you are working intensively with RQL, because often only the page GUID is delivered as result.

Unfortunately the MS search function cannot search by GUID, so this plug-in fills the gap. You get very easy the page details you need to find the page via the Search.

Location in SmartTree
You found the plug-in under Administer Project Structure.

How it works
After starting the plug-in you get a screen presented where you need to paste the page GUID.

After a click on the button Show info you will get the

  • page ID
  • page headline
  • name of the content class

Usually I copy the page ID and use the standard MS search to find the respective page. You will get an error message, if the GUID is not valid or the message “No page for GUID … found.”

If you know how to jump to the page in SmartTree, I would try to add this function in this plug-in.

Installation
This plug-in can be installed using the combined setup routine for all jRQL API based plug-ins. Follow the instructions in this blog to download the installer and configure the plug-ins you want.

For API developers
The functionality is delivered by the method Project > getPageByGuid(). There is a method getPageByID() as well.

The line with the details information can be retrieved simply by calling Page > getInfoText().

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: