none
XPath Resource Count RRS feed

  • Question

  • I've created a search scope, "My Users" which lists users managed by the current user. I am attempting to add a navigation bar resource with a resource count, I have placed the same XPath filter as I used in the search scope into the resource count attribute, however the count is not showing.

    XPath: /Person[Manager='%LoginID%']

    Am I doing something incorrectly?

    Thanks!


    • Edited by FIM-EN Monday, December 22, 2014 11:26 PM
    Monday, December 22, 2014 11:02 PM

Answers

  • Yes, it's what i mean by 'dynamic': %LoginID% depends on current logged users and Navigation bar links are pre-cached by IIS, so I think it's not possible.

    Regards,


    Sylvain


    • Edited by Sylvain.c Tuesday, December 23, 2014 11:56 AM
    • Marked as answer by FIM-EN Tuesday, December 23, 2014 12:11 PM
    Tuesday, December 23, 2014 11:56 AM

All replies

  • Hello,

    Do you do an IISRESET?

    But I am not sure that this fields can be 'dynamic'...

    Regards,


    Sylvain

    Tuesday, December 23, 2014 8:53 AM
  • Hi Sylvain.c,

    Thanks for the reply, yes I did do an IISRESET after each change.

    When you say they you're not sure if the field can be 'dynamic', how do you mean? I understand that the number is cached and will only update when the cache expires, so not completely dynamic in that sense. I'm just not sure why no number is showing at all.

    Edit: Oh by dynamic you mean the %LoginID% part? Interesting.
    • Edited by FIM-EN Tuesday, December 23, 2014 9:39 AM
    Tuesday, December 23, 2014 9:38 AM
  • Yes, it's what i mean by 'dynamic': %LoginID% depends on current logged users and Navigation bar links are pre-cached by IIS, so I think it's not possible.

    Regards,


    Sylvain


    • Edited by Sylvain.c Tuesday, December 23, 2014 11:56 AM
    • Marked as answer by FIM-EN Tuesday, December 23, 2014 12:11 PM
    Tuesday, December 23, 2014 11:56 AM
  • Yes that makes a lot of sense. Thank you.
    Tuesday, December 23, 2014 12:11 PM