Focal Point
[SOLVED]Moved fex/html from one folder to another and lost parameters

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9957028776

August 14, 2015, 10:04 AM
KellyT
[SOLVED]Moved fex/html from one folder to another and lost parameters
Hello,

I moved a fex file and html from one folder (test) to another folder (production). I have everything working correctly in my test but when I do a copy and past into my production I lose some of the parameters.

Production:
IBFS:/WFC/Repository/Public/CustomLoadReport

when in the html requests & data sources this is what the fex file is showing
loadreportfull.fex
fieldList
SHIPPERCODE
...

Test:
IBFS:/WFC/Repository/TESTING/testingLoadReport

when in the html requests & data sources this is what the fex file is showing
loadreportfull_development.fex
fieldlist
DATEPRINT
SHIPPERCODE
BeginDate
EndDate
....

Thank you.

This message has been edited. Last edited by: KellyT,


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
August 14, 2015, 10:21 AM
CoolGuy
Hey Kelly,

So, to be clear on things, you had a .fex and an .html page that were in a particular test folder/environment, and then you moved them to a new production folder/environment. Upon opening your html page within AppStudio in the HTML Composer you are missing some params under the Requests & Data Sources panel. Am I correct? Whenever I've had to move files like you have, I've always had to start fresh with a new HTML page and/or clear out all the requests and re-pick all of them to get things working again. The trouble with the HTML Composer tool is that it has troubles maintaining request information correctly if you move the file around.

Try clearing out the Requests & Data Sources panel and reassigning them. If that doesn't work, then just start with a completely new HTML document if possible.

Another thing to realize is that it looks like you changed your file names as well. That would cause the requests to become borked. Just reassign them all with the proper paths and file names. It should fix it.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
August 14, 2015, 01:37 PM
KellyT
Thanks CoolGuy.

Here is what I figured out.

The parameters that I had set as _FOC_NULL were not being recognized when I
copied the fex file. I commented out the _FOC_NULL and then relinked it back to
the html page.
Once it was linked I was then able to go in the fex and uncomment the _FOC_NULL.
At that point it worked,

I was making this issue a LOT more complicated than it was.

Thanks,
Kelly


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
August 14, 2015, 02:11 PM
CoolGuy
No problem.

Glad you got it figured out.

Good luck and take care!


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.