Bookmark for custom page

Former Member
Former Member

Hi Team,

I created a custom page and I don't create a any ContentId & ContentTypeId to this page.

I want a bookmark to this custom page and I given the  below sample for custom page,

public void RegisterUrls(IUrlController controller)

{
      controller.AddPage("page-members-rewards", "members/{UserName}/testpage", null, userNameConstraints, "page-members-rewards");
}

Kindly guide me how to resolve this issue and bookmark button and also disabled here and I underline in blank box.

Regards,

Kiran Cherukuri.

Parents
No Data
Reply
  • Former Member
    0 Former Member in reply to Former Member

    Bookmark Related Stuff

    $core_v2_contentType.List() return my coupon item 

    $core_v2_bookmark.List("%{ PageIndex = 0, PageSize = 10, SortBy = 'Date', SortOrder = 'Descending', ContentTypeIds = $contentTypeId }")

    doesn't return my bookmark related page but only notification color changed to red color when I visited the page.

    PointsCouponData.GetCouponDetails(contentId.ToString()) return type will be IContent and I implemented the IContent interface in the model and it returns correct when I debug and verified.

     

    Point Transaction related stuff

    I am calling the point transaction sample when I click submit button and I was declared contentid & contenttypeid  belongs to page details same as bookmark related data like contenttypeid.

    But still I am not getting any error in exception log as well as the page is not bookmarked & point transaction also not working.

    Can you please help me to resolve this issue, thanks!

     

Children