This topic has 8 replies, 3 voices, and was last updated 1 year, 8 months ago by user1234. Author Posts November 16, 2018 at 11:50 am #23869 user1234Participant Hi, How can I import openidm.query on a .js on openidm? Because I have this error: ReferenceError: openidm is not defined Thanks! November 16, 2018 at 5:25 pm #23875 xinlianParticipant did you put the js in the script folder or insider of workflow? November 19, 2018 at 12:20 pm #23894 user1234Participant 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! November 20, 2018 at 8:42 am #23907 user1234Participant Anyone can help me? Please… November 20, 2018 at 1:00 pm #23908 Stig StrømParticipant 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. November 20, 2018 at 1:02 pm #23910 user1234Participant 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!! November 20, 2018 at 2:01 pm #23911 Stig StrømParticipant 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. November 20, 2018 at 2:05 pm #23912 user1234Participant Inside of bin/defaults/script/policy.js nneither work… I dont know why… Any idea? Thanks! November 22, 2018 at 9:21 am #23941 user1234Participant Please anyone could help me? Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic.