Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Antony Wong 14 posts 43 karma points
    May 16, 2014 @ 11:45
    Antony Wong
    0

    Remove umbracoInternalRedirectId

    Hi

    I have a document type that has the property item.HasProperty("umbracoInternalRedirectId") set to true. I want to disable this redirect but I cant find the setting for it. Where can I find this setting?

    Thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 16, 2014 @ 14:54
    Jan Skovgaard
    0

    Hi Antony

    Not sure I quite get the issue - if a page has been selected in the content picker it will redirect to the chosen page. So isn't it a matter of removing the selected id on the page then? Or do I misunderstand your issue completely? :)

    /Jan

  • Antony Wong 14 posts 43 karma points
    May 16, 2014 @ 16:04
    Antony Wong
    0

    Thanks for the reply

    Basically i have the following code

    @foreach (var item in home.Children.Where(x => x.IsVisible())) { if (item.TemplateId > 0 || item.HasProperty("umbracoInternalRedirectId")){

  • @item.Name
  • } else { childrenToRender.Add(item);
  • @item.Name
  • } }

    The item.HasProperty("umbracoInternalRedirectId") is returning true on a child and I dont know why. This child should not be true, so I am wondering how can I find out more about this property.

Copy Link
Please Sign in or register to post replies

Write your reply to:

Draft