- Constant Contact Community
- :
- Developer Community
- :
- Authentication and Access (ie. 401 errors!)
- :
- Re: Updating/Copying Campaign
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Updating/C opying Campaign
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-07-2011 11:50 AM
Figured out what it was. There was an error in the php wrapper file in the campaignscollection class.
these two lines need to be modified in the createCampaignStruct function
$campaign['vawp_link_text'] = ($parsedReturn->content->Campaign->ViewAsWebPageLi
$campaign['vawp_text'] = ($parsedReturn->content->Campaign->ViewAsWebPageTe
to
$campaign['vawp_link_text'] = ($parsedReturn->content->Campaign->ViewAsWebpageLi
$campaign['vawp_text'] = ($parsedReturn->content->Campaign->ViewAsWebpageTe
(the capital P in WebPage is incorrect).
I also wrote another function that crates the xml as a raw string rather than using the simple xml library which simply will not let you encode html into it if anybody wants it.
Re: Updating/C opying Campaign
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-07-2011 03:24 PM
Hello,
Thank you for bringing this to our attention. I am going to fix this typo and reupload the wrapper. If you have any questions please let me know.
Regards,
NOC Analyst
Constant Contact


