This discussion is archived
1 Reply Latest reply: Feb 7, 2013 7:23 AM by jiri.machotka RSS

idoc script in NeedToKnow Component

Kenshido Newbie
Currently Being Moderated
Hello

I can't call any service in idoc script of NeedToKnow component on the page "Content Security Configuration Information". I can use simple idoc script like <$if UserName like 'weblogic'$> etc. But when I try to execute my service to determine security rules:

<$executeService("MY_SECURITY_CHECK")$>
<$if canRead like 'true'$>
<$isNTKReadAccess=1$>
<$endif$>

this causes an error: "The NTK security script is invalid" when I try to reach the document. I can use any standard service: <$executeService("GET_USER_INFO")$> - and get the same result. There are no errors occur when I press "Update" button, so idoc script is correct.

Any ideas?

Edited by: Kenshido on Feb 7, 2013 5:16 AM
  • 1. Re: idoc script in NeedToKnow Component
    jiri.machotka Guru
    Currently Being Moderated
    This question is hard.

    The only similar post I could find is here: http://selvam2day.blogspot.co.uk/2010/10/sample-step-by-step-implementation.html (see comments from yesterday - aren't they yours?)

    There seems to be no obvious reason, why it should not work, but maybe it's just designed this way. You may analyze where the error message comes from and maybe you'll get the reason, but I would ask the support.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points