Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread EWB 3 - BaseURL
Fri, May 21 2021 9:22 AMPermanent Link

Walter Matte

Tactical Business Corporation

How can I set the Database.BaseURL?

In EWB 2 I could test to see if I was running an ISAPI DLL and the BaseURL.

 if Pos('DFEUBC.DLL',UpperCase(window.location.pathname)) > 0 then
 begin
   gbURL := '/ubc/DFEUBC.dll';
   database.BaseURL := '/ubc/DFEUBC.dll/datasets';
 end
 else                                                 
 begin
   gbURL := '';
   database.BaseURL := '/datasets';
 end;

In EWB 3 it is a readonly paramater - so how does it get set?

Walter
Fri, May 21 2021 9:56 AMPermanent Link

Walter Matte

Tactical Business Corporation


I just change WebData to allow me to change the BaseURL added a private variable and a setter function.

This is now working for me....

Walter
Image