upload a picture to CP and get error access restricted folders
Summary
upload a picture to CP and get error access restricted foldersContent
Hi all,
I am try to upload a picture to customer portal using the connect PHP refer my below code but i get error, can any one please assist me to get the right solution ?
Step 1. I created Test.php in /dav/cp/customer/development/controllers,please check attachment;
Step 2. I created TestModel.php in /dav/cp/customer/development/models/custom,please check attachment;
Step 3. I used admin account of RightNow and used initConnectAPI("QYP", "Password1") to initial API ;
Step 4. When I used test.html(check attachment) to post a picture to the controller,and got the error message as attachemnt named error.png。
0