waldav00
25 Mar 2008, 8:16 PM
Hi there,
During development I have been using a view within the same database as my form with a UIView/grid. Now I need to point to a view in a different database but cannot get it to work. Here is my code, where I changed the viewName: to viewURL:. Also, I have tested the URL I am using and the view will come up in a browser so it is not a pathing issue.
Thanks,
David
Ext.onReady(function(){
var cat = this.userName.value;
view1 = new Ext.nd.UIView({
viewURL : '/TDSOPAdm.nsf/mySOPs',
showSingleCategory : cat,
showCategoryComboBox :false,
showSearch :false,
gridConfig: {
renderTo : 'sops',
width:998,
height:401
}
});
});
During development I have been using a view within the same database as my form with a UIView/grid. Now I need to point to a view in a different database but cannot get it to work. Here is my code, where I changed the viewName: to viewURL:. Also, I have tested the URL I am using and the view will come up in a browser so it is not a pathing issue.
Thanks,
David
Ext.onReady(function(){
var cat = this.userName.value;
view1 = new Ext.nd.UIView({
viewURL : '/TDSOPAdm.nsf/mySOPs',
showSingleCategory : cat,
showCategoryComboBox :false,
showSearch :false,
gridConfig: {
renderTo : 'sops',
width:998,
height:401
}
});
});