Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

[14:35:28 CDT(-0500)] <b-cause> Hello uPortal devs. The rich configuration mode in up4.0.5 has 5 inputs for the custom headers section. Do you know how I can add inputs for more custom headers?

[14:35:39 CDT(-0500)] <b-cause> this is for the WebProxyPortlet

[14:35:59 CDT(-0500)] <EricDalquist> you would need to edit the xml portlet definition

[14:36:06 CDT(-0500)] <EricDalquist> so create the base portlet

[14:36:08 CDT(-0500)] <EricDalquist> export it

[14:36:12 CDT(-0500)] <EricDalquist> modify the preferences

[14:36:14 CDT(-0500)] <EricDalquist> import it

[14:37:08 CDT(-0500)] <b-cause> ok. so that will update the available preferences? this isn't the portlet.xml your talking about?

[14:37:46 CDT(-0500)] <EricDalquist> this is not

[14:37:57 CDT(-0500)] <EricDalquist> this is the data import/export file for that portlet

[14:38:00 CDT(-0500)] <b-cause> so I'll use the Import Portlet Entities portlet to expor it

[14:38:31 CDT(-0500)] <b-cause> modify the file then use the same portlet to import it.

[14:38:38 CDT(-0500)] <EricDalquist> yup

[14:38:51 CDT(-0500)] <b-cause> great. I'll give that a shot. thanks EricDalquist

[15:04:15 CDT(-0500)] <b-cause> hi EricDalquist. that export tool in 4.0.5 asks for an ID of the portlet you want to export, is that the PORTLET_DEF_ID from the database, or is it something I can pull in from another location?

[15:04:23 CDT(-0500)] <EricDalquist> fname

[15:04:28 CDT(-0500)] <b-cause> ok thanks.

[15:46:21 CDT(-0500)] <b-cause> Hi EricDalquist. So I was able to export a portlet definition for the webProxyPortlet and manually add some header names and values. I can see them in the summary view of the portlet, but when I go to the rich configuration edit mode, the interface goes back down to just the 5 available slots.

[15:46:30 CDT(-0500)] <EricDalquist> yup

[15:46:38 CDT(-0500)] <b-cause> Is there maybe another template or config file I could edit?

[15:46:39 CDT(-0500)] <EricDalquist> you'll need to forgo the rich config for this portlet

[15:46:51 CDT(-0500)] <EricDalquist> you'd have to modify the web proxy portlet source code

[15:47:19 CDT(-0500)] <b-cause> well I do bulid that portlet as an overlay so adjusting the source code won't be too much of an issue.

  • No labels