Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Designing with Sitefinity > Locked news - detection

Locked news - detection

  • Petr avatar

    Posted on May 20, 2011 (permalink)

    Hi,

    due to fact, that it is not possible to filter by Status in News list, I've added new metafield into specification. I've mapped workflow, but I have problem how to detect/set for this new "status" (in original status is correctly stored "Locked by...") in case of locking page. Where can I find trigger for this event?

    Thanks for help

    Petr

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on May 25, 2011 (permalink)

    Hello Petr,

    You can subscribe to the click event of the publish button in the NewsItemPreview.ascx control template. Now when this button is clicked you can get the item set the value of the new meta field to the workflow status. See attached sample with author metafield.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Attached files

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Designing with Sitefinity > Locked news - detection