How to search in unpublished UGC records? Thanks

Posted by Bo Fu on December 2, 2014

Hi,

It seems using standard SearchRecords method only can search in among records. How can I search in unpublished records. Or if it can't be done, How can I publish a record from c# code? Thanks

   0 people like this question
15 30 50   per page
   
  
 
 
   
Submit
For security reasons, you cannot search unpublished records unless you are using your site's Admin UGC key. By default, this may not have been provided to you but you can request it by contacting support@agilitycms.com. Also, you can publish records as well if you are using the Admin UGC key using SetRecordState.

If you are using the admin ugc key, you will need to initialize UGC by passing in this key, otherwise your default key in web.config will be used.

Regards,
James
Posted By: James Vidler

Previous Next

LOGIN

Log in with your Agility username and password or
register for the site




Log In

REGISTER












Register

FORGOT PASSWORD