Answered

Unpublish content item in an Agility Shared List

Hey Agility,

Is there a way to programmatically unpublish a content item from an Agility shared list?

I was trying using the ServerAPI class which has a PublishContent method but not an UnpublishContent.

By deleting the content using the DeleteContent method and recreating it I will lose all history over the content.

Do you know any idea how can I get around it?

Thank you,

Erik

 

0

Comments

4 comments
  • Official comment

    Hey Erik,

     

    As discussed earlier, currently there is no way to unpublish content programmatically. I have created a feature request to be discussed in our weekly internal meeting. I will follow up with you on this after our meeting.

    Comment actions Permalink
  • Hey Tunc,

     

    Thank you for the update and I'm glad for having you guys always willing to help.

     

    0
    Comment actions Permalink
  • Hey Erik,

     

    We have just released a new version of Agility.Web on nuget that has the unpublish functionality in ServerAPI.

     

    Install-Package Agility.Web -Version 5.0.1904.1
     

     

     

    0
    Comment actions Permalink
  • Hey Tunc,

    Cool, I will update my projects and test it later.

    Thank you guys.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post