When I test my component interface, why do I get a "Not Authorized" error?

Answer Posted / clara

Check that your component interface is included in a permission list that you have access to. Also check that you have access to all possible methods (Get, Save, Create, Cancel, Find). If you delete a component interface through application designer, it is also removed from any associated permission lists so this may be another reason why your new component interface (with the same name) is not authorized any more.
Also, make sure you are not trying to do something in your code that the CI can't do. For example, if your CI doesn't have a create method, you can't set security for it, so you will get a not authorized error if you have code that attempts to perform a create. This is because the authorization error is usually the first error to be displayed.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me which data types is not supported by the peoplecode programming environment?

611


Tell me what http servers and java servlet engine combinations are supported with peopletools 8.4?

625


In ibm how should web application servers be used with peopletools 8.1x and peopletools 8.4?

650


What version of the java servlet api are the pia java servlets coded to with peopletools 8.4 for the servlet layer on the web server?

668


Tell me how to do object security?

677


Which data types is not supported by the peoplecode programming environment?

719


Do you know are disconnected mobile applications supported in people tools 8.1x?

753


Explain what is the standard property when a component interface is created?

599


Explain how does the people soft enterprise portal work with 8.1x and 8.4 applications?

595


Explain attributes of a component interface (ci) are?

630


Can you explain is bea weblogic the same thing as the web server that was previously on the tuxedo cd?

598


Tell me can a peopletools 8.4 and a peopletools 8.1x database run on the same machine?

609


How to do object security? How to connect report through process scheduler?

671


Tell me what hyperlinks available in peoplebooks? Some options with different hyperlinks not available in peoplebooks, select the correct one?

599


Tell me the example below demonstrates the use of sqr flags in the configuration manager directories folder: -f c:pshrmssqrwhat do the above sqr flags signify to the sqr report writer upon execution?

601