10-29-2012 08:27 PM - edited 03-15-2019 05:50 AM
I have attached a script that I have created and i'm having trouble getting the prompt to upload to the prompt repository. The goal of this script is to authenticate the user, if the user is a supervisor, then the user should be able record a prompt. So after the prompt is recorded, the supervisor goes through a series of menus that verifies to make sure the supervisor wants to replace the current working prompt with the newly recorded prompt. I think i'm good all the way to the upload prompt part. I cannot get that prompt to upload. I have tried upload prompt and also write document, neither of which can i get working. Please let me know what I'm missing here. Thanks.
10-30-2012 02:22 AM
Hi Justin
There are lots of posts on this issue on these forums... but you have got closer than most :-)
Your 'authenticate user' step refers to strCCMUserID (a string var) rather than the usrWhoAmI User var that you previously used with 'Get User' and 'Upload Prompt' (both of which are correct). Switch the auth user to usrWhoAmI and it should work...
Principal Engineer at Logicalis UK
Please rate helpful posts...
10-30-2012 11:45 AM
Ok I changed that authentication varible like you said and tried again but again, it won't upload. I have uploaded the latest version of the script. Please check it out and let me know what I'm missing here. It seems to me like I have everything in place. Unfortunately, It is probably something small that i'm overlooking. Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide