This topic has 8 replies, 3 voices, and was last updated 1 year, 8 months ago by user1234.

  • Author
    Posts
  • #23869
     user1234
    Participant

    Hi,
    How can I import openidm.query on a .js on openidm? Because I have this error:
    ReferenceError: openidm is not defined
    Thanks!

    #23875
     xinlian
    Participant

    did you put the js in the script folder or insider of workflow?

    #23894
     user1234
    Participant

    Hi xinlian,
    I put the js in a script folder, so I think I need to import or declare de openimd.query.
    Thanks a lot!

    #23907
     user1234
    Participant

    Anyone can help me? Please…

    #23908
     Stig Strøm
    Participant

    What type of script? I have experienced that openidm.xxxxx is not always available, but should be available for transformations scripts.

    • This reply was modified 1 year, 8 months ago by Stig Strøm.
    #23910
     user1234
    Participant

    Its in a bin/defaults/script/policy.js, one additionalFile that add a Policy but I need to do a openidm.query,Is there any way to make that query work?
    Thanks!!

    #23911
     Stig Strøm
    Participant

    Not worked with that, so I do not know, but I see they do openidm.read inside bin/defaults/script/policy.js, so I guess it should be possible.

    #23912
     user1234
    Participant

    Inside of bin/defaults/script/policy.js nneither work… I dont know why…
    Any idea?
    Thanks!

    #23941
     user1234
    Participant

    Please anyone could help me?

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?