Focal Point
[CLOSED] URL File

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

March 08, 2013, 04:43 AM
FRANCULLO
[CLOSED] URL File
How do I create a URL from script WEB FOCUS?

if I write

-SET &AREA_MANAGER=&STORE_D;
-RUN
-* Creazione Cartella STORES
-SET &NOMEDIR = 'MKDIR C:\ibi\apps\REPORTDATA\STORES\' || &STORE_D;
-DOS &NOMEDIR

-* Creazione url Report Broken_Size
-SET &NOMEDIR = 'C:\ibi\apps\REPORTDATA\STORES\' || &STORE_D ;
-RUN
-SET &NOMEFILE= &NOMEDIR ||'\Broken_Size_' || &STORE_D || '.url' ;
-SET &LINKURL= '/approot/REPORTDATA/Broken_size_' || &STORE_FILE || '.HTM';
FILEDEF FILEDOC DISK &NOMEFILE
-RUN
-WRITE FILEDOC &LINKURL
-CLOSE FILEDOC;



and then I copy the file created to the repository when I try to run it in IBI portal does not work.

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


WEBFOCUS 8.x
Windows, All Outputs
March 08, 2013, 06:40 AM
FrankDutch
Add the statement
-SET &ECHO=ON ;

At the beginning of your code and see what you get.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

March 08, 2013, 07:42 AM
FRANCULLO
I have not explained well.

The code I wrote is correct.
The file creates the url in C:\ibi\apps\REPORTDATA.
To add it to Mobile Faves I have to copy the file generated in IBFS :/ .....
After the copy it doesn't run on MF or Portal, but it runs in Developer Studio

If I write
-SET &NOMEDIR = IBFS:/PRJv01/REPORT/STORE1 ;

does not work write


Is there a way to write it in IBFS :/ ....?


WEBFOCUS 8.x
Windows, All Outputs
March 14, 2013, 02:51 PM
Kerry
Hi FRANCULLO,

It looks like this is a configuration issue, which should be addressed by a case with Customer Support Services. If you have not done so, please call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.