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

Forums / General Discussions / Content links change when Page created

Content links change when Page created

2 posts, 0 answered
  1. Lou Mossa
    Lou Mossa avatar
    2 posts
    Registered:
    15 Aug 2009
    23 Jun 2010
    Link to this post
    I have a page group that contains a number of pages created using the pages API. The first page in the group is the only non-API created page and is always the landing page for the group. When a new page is created the first page needs to be re-ordered to the top (0 ordinal) since the new page may be inserted there.
    At some time during the process, generic content links to the first page will be changed to reflect the new page instead of the first page.
    Is this a function of the sfref property on the link tag?

    The links created in generic content look like this:
    <a href="/Page_Group_Directory/first_page.aspx" 
    sfref="[Sitefinity]99c8194c-2241-402b-af4a-48e821003cee">


    with sfref="[Sitefinity]someuniqueid".

    How is this controlled? It seems that if the sfref is removed, the links do not update, but I would rather not tell a client that they have to modify the html of the link so that it remains unchanged.

    Sitefinity version is 3.7 SP2.

    Thank you

    Lou
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    23 Jun 2010
    Link to this post
    Hi Lou Mossa,

    This is a  dynamic url that we resolve internally - Resolving the url of dynamic links . This ensures that changing the page name its location in the SiteMap will not result in a broken link. If you change the position of the first_page.aspx the link should not be broken and it will remain accessible.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered