hi,
i have a strange problem
I use the following (pgm: cmgp10r) in my coding and i receive the below mentioned error in my browser-console;
when i copy the rpg-program logic into program cmqu10r and change this in my model definition, everything works fine..??
The "cmqu10r" ("qu" from quotation) is the initial app which is on the portal, and the "cmgp10r" ("GP" from General Purpose) is in fact a separate program that contains procedures to be shared among the full project..(comparable to a service pgm)
'I've verified that the cmgp10r is member of the authorized pgm of the valence portal) .
is this a bug, or am i missing something?
i have a strange problem
I use the following (pgm: cmgp10r) in my coding and i receive the below mentioned error in my browser-console;
Code:
[E] Ext.JSON.decode(): You're trying to decode an invalid JSON String: Incorrect Action was transferred || (GETLAYOUT)
The "cmqu10r" ("qu" from quotation) is the initial app which is on the portal, and the "cmgp10r" ("GP" from General Purpose) is in fact a separate program that contains procedures to be shared among the full project..(comparable to a service pgm)
'I've verified that the cmgp10r is member of the authorized pgm of the valence portal) .
is this a bug, or am i missing something?
PHP Code:
Ext.define('Shared.model.Layout',{
extend : 'Ext.data.Model',
fields : ['CMXDESC'],
proxy : {
type : 'ajax',
url : 'vvcall.pgm',
extraParams : {
pgm : 'cmgp10r',
// pgm : 'cmqu10r',
action : 'getLayout'
},
reader : {
type : 'json',
root : 'layout'
}
}
});
Comment