More in this section

Forums / Developing with Sitefinity / Backend URL to edit custom module item?

Backend URL to edit custom module item?

4 posts, 0 answered
  1. Steve
    Steve avatar
    13 posts
    Registered:
    29 Apr 2011
    04 Jun 2012
    Link to this post
    I have a custom module defined using the Module Builder. It has a menu item under Content. Subpage is my custom module. Right now the URL to the content list is /Sitefinity/Content/subpage. This shows a list of Subpage items. Clicking any of the links will allow me to edit a particular Subpage. But all of the Subpage items have the same URL. But I would like to have a dedicated URL to edit each Subpage.

    Is there anyway to do this?


  2. Steve
    Steve avatar
    13 posts
    Registered:
    29 Apr 2011
    05 Jun 2012
    Link to this post
    It is important that I get an answer to this. So I'll try to clarify my question.

    I have a home page  named "Home". I can edit it with the URL "/home/Action/Edit".

    But I can't find a similar mechanism for content. For example each content block defined in my backend has the same edit URL of "http://localhost:60876/Sitefinity/Content/Content%20blocks#event=showWindow&winId=cntBlcksCntView_contentBackendList_ctl00_ctl00_itemsGrid_ctl00_ctl00_edit&autoMax=false".

    I am hoping to find a URL specific to each content block. In my case the content is a custom module, but the principle is the same.
  3. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    05 Jun 2012
    Link to this post
    Steve,

    There's isn't a way to access the content blocks the way you're asking.

    What are you trying to accomplish? I'll try to help you find a way to do it...
  4. Compton
    Compton avatar
    18 posts
    Registered:
    02 Feb 2012
    02 Aug 2012
    Link to this post
    I'm not sure this is exactly the same thing that the original poster was asking, but say I have a custom module that I built using module builder.  On the content menu, I can view my items and select one to edit.  But is there any way to navigate directly to the edit screen for an item? 

    My exact scenario is  as follows:   I have a module built using module builder.  For my module, I am using the stock list and edit screens from Sitefinity.   I have written a function to clone a given custom content item.  (The user will be logged into the back end when doing this.)   At the end of cloning the item, I want to navigate to the edit screen to display and edit the item.

    Is this possible in any way? 
4 posts, 0 answered