More in this section

Forums / Developing with Sitefinity / notify roles that content has been sent for appr

notify roles that content has been sent for appr

4 posts, 0 answered
  1. Rabindra
    Rabindra avatar
    106 posts
    Registered:
    17 May 2009
    02 Aug 2009
    Link to this post
    I was following this link.
    http://www.sitefinity.com/support/kb/sitefinity-3-x/how-to-notify-roles-that-content-has-been-sent-for-approval.aspx

    But got an error message. Have I missed any steps?
    ---------------------
    Compilation Error

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1061: 'Sitefinity_Admin_External_News_back_NewsItemPreview' does not contain a definition for 'LoadCommands' and no extension method 'LoadCommands' accepting a first argument of type 'Sitefinity_Admin_External_News_back_NewsItemPreview' could be found (are you missing a using directive or an assembly reference?)

    Source Error:

    Line 26:         {
    Line 27:             List<EventActivity> commands = new List<EventActivity>();
    Line 28:             this.LoadCommands(commands, instance.Activity.Activities);
    Line 29:             int idx = int.Parse((string)e.CommandArgument);
    Line 30: 


  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    05 Aug 2009
    Link to this post
    Hi Rabindra,

    It seems that part of the code is missing. We will update the KB article as soon as possible. Please use the following one in the meantime - http://www.sitefinity.com/support/kb/sitefinity-3-x/how-to-notify-approvers-when-a-news-item-is-sent-for-approval.aspx

    I apologize for the inconvenience. 

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. Rabindra
    Rabindra avatar
    106 posts
    Registered:
    17 May 2009
    05 Aug 2009
    Link to this post
    thanks for the update.
    What's the difference between those two?

  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 Aug 2009
    Link to this post
    Hi Rabindra,

    Generally there is no difference. The first one shows how to do that for the other modules as well. We will merge both into one KB article soon.

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Register for webinar
4 posts, 0 answered