What inbuilt parameters can I access in Sitecore XSLT? How should I expose global settings I need?

后端 未结 3 1584
逝去的感伤
逝去的感伤 2021-01-25 18:17

Is there a list of inbuilt parameters available to Sitecore XSLTs? I\'ve looked around but haven\'t seen anything that looks like a full list, at least not in comparison to the

3条回答
  •  死守一世寂寞
    2021-01-25 19:00

    Reflector shows that the following are automatically added:

    list.AddParam("id", string.Empty, item.ID.ToString());
    list.AddParam("lang", string.Empty, Language.Current.Name);
    list.AddParam("sc_lang", string.Empty, Language.Current.Name);
    list.AddParam("sc_item", string.Empty, GetNodeIterator(item));
    

提交回复
热议问题