Skip to main content

You are not authorized to access this component (40,20)

Hello,

If you get error like You are not authorized to access this component (40,20) then you can look at your roles and codes which related with transferred pages and permissions.


Firstly, check the role if the role has permissions for peoplesoft menu like bellow;

select ROWID,A.* from PSAUTHITEM A where MENUNAME=<Page's Menu Name>

CLASSID
MENUNAME
BARNAME
BARITEMNAME
PNLITEMNAME
DISPLAYONLY
AUTHORIZEDACTIONS
TEST_ROLE
ATTND_MENU
USE
ATTND_INSTR2
ATTND_INSTR2
0
4
TEST_ROLE
ATTND_MENU
USE
ATTEND_INST_1
ATTND_INST
0
14
TEST_ROLE
ATTND_MENU
USE
CLASS_ATTENDANCE_I
CLASS_ATTENDANCE_I
0
2

Check AUTHORIZEDACTIONS field and update this field as 4 for selected rows.

If you use Transfer function in a page, check your transfer code's parameter and make sure your parameters must be same with result of select statement. Panel name is name of your page. For instance if my page name is ATTND_INSTR2 then I type transfer code's parameter like bellow;

Transfer( False, MenuName.ATTND_MENU, BarName.USE, ItemName.ATTND_INSTR2, Page.ATTND_INSTR2, "U", DERIVED_SR.DESCR, STDNT_ENRL.EMPLID, STDNT_ENRL.ACAD_CAREER, STDNT_ENRL.INSTITUTION, STDNT_ENRL.STRM, STDNT_ENRL.CLASS_NBR);

On the other hand you can get this error even if you don't use transfer function in your codes. When you get this error, make sure if your component name and item name fields are not same. If it's same, probably, you'll get this error.

Delete your page in PIA. Open Application designer and your component. Change your page's item name in component page than register your component again. Most likely, you'll see your page again.

Loves,

Comments

Popular posts from this blog

PGConf Europe 2018 Güncesi 1

Merhaba, Diğer tüm veritabanları arasında en popüler açık kaynak kodlu veritabanı olan PostgreSQL, tüm yıl boyunca farklı ülkelerde bir çok konferansa sahiplik yapmaktadır. En bilinenleri PGDay ve PGConf'dur. Ayrıca her yıl 2 Şubatta Brüksel’de yapılan FOSDEM etkinliğinde de PostgreSQL konuşmalarının yapıldığı bir oturum mutlaka olmaktadır. PostgreSQL etkinlik detaylarına bu linkten ulaşabilirsiniz. Bu yıl ki PGConf Europe konferansı Lizbon'da yapıldı. Konferansla ilgili izlenimlerimi, yaptığım neredeyse 6 günlük yolculuğun en başından tüm detaylarıyla birlikte paylaşmak istiyorum. Yolculuğumuz sevgili Seda ile birlikte Atatürk Havalimanı’ndan sabah 07:30’da Lizbon’a direk uçuşla başladı.  Hava şahaneydi ve uçuşumuz konforlu geçti. Koltuğumuz cam kenarı ve uçağın kanadının hemen yanındaydı (benim favori koltuklarım 24, 25, 26, 27 ve 28. sıradakiler) ve biz 27. sıradaydık. Bol bol resim çektik bulutların üstündeyken ve uçak kanatlı olanlardan.  Lizbon’a vardığımı...

PostgreSQL High Availability - Patroni 2

Patroni kurulumuyla ilgili oldukça fazla kaynak bulunmakta fakat kurulum ve yönetimini beraber barındıran kaynağa denk gelmedim. Bu yazıda hem Patroni kurulumu hem de kurulum sonrası yönetimiyle alakalı detaylara ulaşabilirsiniz. PostgreSQL cluster'larının yönetimi için kullanılan Patroni ile ilgili temel bilgilerin yer aldığı Autofailover üzerine hazırladığım yazı serisine aşağıdaki linklerden erişebilirsiniz. PostgreSQL ve Autofailover PostgreSQL'de Autofailover ve Patroni 1 (Giriş) PostgreSQL'de Autofailover ve Patroni 2 (Kurulum, Konfigürasyon ve Yönetim) PostgreSQL'de Autofailover ve Patroni 3 (Mevcut PostgreSQL Cluster'inin Patroni'ye Geçirilmesi) Patroni, PostgreSQL veritabanlarının kurulumundan ve konfigürasyonundan sorumludur. Yani Patroni'yi kurduğumuz sunucular aynı zamanda Patroni ile kurulmuş PostgreSQL'leri barındıracak. Üç node'lu PostgreSQL ve üç node'lu ETCD cluster'larını oluşturacağım. Kuruluma önce üç no...

Collapsible Group Box in Peoplesoft Pages

Hello, With using collapsible Group boxes you can minimize all fields and free up space in your pages. If your page has lots of field and you can make it understandable. Before use it, you should decide to where you want to use Collapsible Group Boxes. In your page; Add a new group box which include your fields that you want to hide or show all of them. Double click head of group box and open Group Box Properties. Give a name for group box's label in Label tab.