Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Possible to determine ccstd or ccpro from formAPI?
Keywil
Hey all,
In our application we have a callout that is intended to direct the author to one of two resources depending on the content center that they're using.
If they're using ccstd they would get the 'ccstd' resource, if they're using ccpro the user would get a 'ccpro' resource.
Is there any way to determine the Content Center type using FormAPI?
Thanks,
Find more posts tagged with
Comments
nipper
Hmm, that is a good one. You *should* be able to kick off a callserver to the TS box and look up the users default UI (doesn't mean they are using it).
Other than that you may be able to parse the window.parent data and see if cc_std or cc_pro is in there but I have never looked at it.
Keywil
Thanks Nipper, the document.referrer works...
[html]if (document.referrer.indexOf('ccpro') != -1)
{
Do this....
} else
{
Do that...
}[/html]