Jump to content

WF_STYLE_HEIGHT, WF_STYLE_WIDTH, WF_STYLE_UNITS prompts after upgrading to v9.2.2


Go to solution Solved by Clayton Peacock,

Recommended Posts

We just upgraded to WebFOCUS v9.2.2 and now some of our older portals are now prompting for these fields: WF_STYLE_HEIGHT, WF_STYLE_WIDTH, WF_STYLE_UNITS. Has anyone else run into this? Just running the report code from the Hub doesn’t generate these prompts, it seems to be only when the portal page runs. I'm hoping there is a setting somewhere we missed.

Thanks in advance for any assistance!

--Debra

Link to comment
Share on other sites

We ran into this as well.  Only affected a few simple/older portals.  I created a case and ibi responded that it is fixed in WebFOCUS® 9.2.3 HF-011.  Also ibi mentioned that they will not provide a hotfix for 9.2.2.  The only workaround that I came up with is to add default values to the fex's (it can be any value).  However, they are not hidden so users are confused by them since they come up as required prompts.

-DEFAULTH &WF_STYLE_HEIGHT='1';
-DEFAULTH &WF_STYLE_WIDTH='1';
-DEFAULTH &WF_STYLE_UNITS='1';

 

Todd

Link to comment
Share on other sites

Todd, those variables are generated by the InfoAssist chart creation tool, maybe other tools too. I never quite knew what they were for or what they accomplished. I have removed them without any ill effects that I know of.

But your suggestion seems perfectly fine.

Link to comment
Share on other sites

Todd,

  thanks for the info of where that is fixed. We are planning to meet with the users of each of the affected portals and see if they want to recreate them or retire them. As we have been going through this upgrade and an upgrade of our policy management system we have found loads of content that is no longer being used so I'm hopeful most of these will fall into that bucket.

Thanks!

David,

  when you say you "removed them without any ill effects" I assume you edited the code in the text editor. What did you edit? The actual page that runs the reports?

 

Link to comment
Share on other sites

  • Solution

We removed the below from the fexes in the text editor, below gets generated with InfoAssist charts - you shouldn't get any errors.

However you might not be able to open/edit in InfoAssist after editing in text editor.

-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT

 

Link to comment
Share on other sites

Debra, I edited the fex in the text editor. I just created a simple chart and removed the code as indicated by Clayton. I was able to subsequently edit it in InfoAssist (there was a warning message).

Good point you bring up about unused code. In any upgrade project, good to carve out some time up front to clear out the junk.   

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...