Project and Portfolio Management Practitioners Forum
Showing results for 
Search instead for 
Did you mean: 

Programatically add/remove a portlet

Acclaimed Contributor

Programatically add/remove a portlet

Hello, thanks for taking the time to help me on this.
I am trying to add and remove portlets to a project without using the UI.

Does anyone have a resolution to this?
Acclaimed Contributor

Re: Programatically add/remove a portlet

I forgot to add that this is on the project overview page where I wish to add portlets.
Ideally I need to generate some sql statments that would create portlet X and attach it to project Y.

I have found the table that contains the portlets information: Row Column Minimized Page ID etc.
The problem is I cannot fine a table that holds a relation between the project ID and the Page ID.

any help is greatly appreciated.
//Add this to "OnDomLoad" event