Generating content item url for Email Notification

I have a requirement to generate the Url to the content item in my email notification. The url has to be similar to what the Percussion generates out of the box.

http://localhost:9992/Rhythmyx/sys_ActionPage/panel.html?sys_contentid=796
&sys_pagename=ca_search&sys_overridecommunityid=1003
&sys_componentname=item_action_panel&sys_sortparam=title

However, since I am writing custom email notification, I would need to generate the above URL manually, and add to the email body. Is there any API that simply takes the content id/ guid and any other params and generates the above url for us.

thanks
manvinder

I am still struggling to find the API to generate URL similar to this which I can include in my Email body:

http://percussion.aquilent.com:9992

/Rhythmyx/sys_ActionPage/panel.html?sys_contentid=796&sys_pagename=ca_search&sys_overridecommunityid=1003&sys_componentname=item_action_panel&sys_sortparam=title

[Note: Sorry for the wierd formatting of the above URL. It is a single URL, but because of format problems I had to break it into 2 parts.]

Else the only way I think that could be left is to manually build this url by manually concatenating the string with different values.

Any opinion?

thanks
Manvinder

See my post in your other thread: http://forum.percussion.com/showpost.php?p=13954&postcount=5