+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Form Editor Route Handler

Form Editor Route Handler

3 posts, 1 answered
  1. Clinton
    Clinton avatar
    14 posts
    Registered:
    27 Feb 2014
    27 May 2014
    Link to this post

    Hello,

    I have been trying to get a custom route handler to fire on all of the designers in the back-end of Sitefinity, but I cannot seem to find an appropriate handler for the Forms designer.

    I have a handler for pages and template designers (PageEditorRouteHandler and TemplateEditorRouteHandler) working successfully.

    Is there any Route handler that specifically handles routing on the Forms designer? Or is there any handler that fires on the forms designer page that I could do filtering on to ensure the page is in design mode?

    Also, all official documentation links relating to these handlers seem to come up as 404's, an example here

    Thanks,
    Clinton

  2. Milena
    Milena avatar
    75 posts
    Registered:
    15 Jul 2016
    28 May 2014
    Link to this post
    Hello Clinton,

    Telerik.Sitefinity.Modules.Forms.Web.FormsRouteHandler
    - represent a route handler for Sitefinity's forms designer.
    It has public property IsPreview which gets or sets a value indicating whether the requested page is for preview or edit mode.

    About broken link - we re-generate the API reference web output with every version, and the tool may give the topics different URLs than the previous one.

    Here is the correct link for all routes:
    http://www.sitefinity.com/documentation/ApiReference/webframe.html#topic100465.html

    Hope this information helps!

    Regards,
    Milena
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
    Answered
  3. Clinton
    Clinton avatar
    14 posts
    Registered:
    27 Feb 2014
    28 May 2014 in reply to Milena
    Link to this post

    Hello Milena,

    Thanks for your help, that was exactly what I was looking for!

    It was just kind of hard to find the FormsRouteHandler when it was in a different namespace than all of the others. Not knowing the class name also didn't help.

    Cheers,
    Clinton

3 posts, 1 answered