You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

upload a picture to CP and get error access restricted folders

Received Response
12
Views
1
Comments
edited Sep 21, 2019 2:50AM in Customer Portal 1 comment

Summary

upload a picture to CP and get error access restricted folders

Content

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。

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!