Difference between revisions of "PT Profile CCAPI Configuration"
From ADF Docs
(→Setup) |
(→Setup) |
||
Line 22: | Line 22: | ||
# To populate the <pageID> and <subsiteID> tags, view the source code for the 'ccapiProfile' page that was just created. | # To populate the <pageID> and <subsiteID> tags, view the source code for the 'ccapiProfile' page that was just created. | ||
# Identify the following line in the source code and enter this numeric value into the <subsiteID> tag: | # Identify the following line in the source code and enter this numeric value into the <subsiteID> tag: | ||
− | + | <source lang="java"> | |
+ | var jsSubSiteID = ##; | ||
+ | </source> | ||
# Identify the following line in the source code and enter this numeric value into the <pageID> tag: | # Identify the following line in the source code and enter this numeric value into the <pageID> tag: | ||
− | + | <source lang="java"> | |
− | + | var jsPageID = ####; | |
− | + | </source> | |
− | + | ||
+ | [[Reset ADF|Reset the ADF]] for the server and site. | ||
[[Category:Profile]] | [[Category:Profile]] |
Revision as of 19:29, 26 March 2010
Overview
The Profile Application uses the ADF CCAPI to populate profile records and create profile pages. This needs to be configured for the site and profile app.
Follow the steps to setup the CCAPI Config file for the site if this is not done. Once this is completed, follow the steps below to setup the CCAPI config for the Profile App. Make sure to update the wsVars section with the correct URL's and username/password.
Setup
- Create a new page called 'ccapiProfile'. Recommend creating this page in the /webadmin/profile/ subsite.
- Add the 'Profile' element to the page.
- Select the 'Profile' element indicator and go to 'more...'. Select 'Name' from the menu.
- In the Element Name field, enter the text 'ccapiProfileElement'.
- Publish this page and put in read mode.
- Edit the 'ccapi.xml' file for the site and add the following xml block into the <elements> section:
<Profile>
<pageID>#####</pageID>
<subsiteID>##</subsiteID>
<elementType>custom</elementType>
<controlName>ccapiProfileElement</controlName>
</Profile>
- To populate the <pageID> and <subsiteID> tags, view the source code for the 'ccapiProfile' page that was just created.
- Identify the following line in the source code and enter this numeric value into the <subsiteID> tag:
var jsSubSiteID = ##;
- Identify the following line in the source code and enter this numeric value into the <pageID> tag:
var jsPageID = ####;
Reset the ADF for the server and site.