Tracking Omnis

Doug Easterbrook doug at
Mon Feb 14 15:53:56 UTC 2022

hi Rob

so looking at what pages look like in oBrowser that from from ultra thin client.   Thats means they are all HTML

we do that.      

You can either point the oBrowser URL to your ultra think client directly

Calculate ibrowserRef.$urlorcontrolname as ‘https:// …….’

Or, in our case, we have the pure HTML in a field in a table in the database, so we

1) write out a temp file containing the BODY of the text to a known place
2) use that as the path namer in the oBrowser $URLCONTROLNAME


Body is the raw HTML. (eg <html><head><title>my page</title></head><body>hello world</body></html>

we write it you to a temp file (I have a method to do that, but you can write your own ‘writefile’ kind of thing.

Pathname is a fiull pathname to the thing like C:\temp\FilenameTemp.html.  or   /user/shared/FilenameTemp.html

then the URL is ‘file:///+ the pathname'

Do tTMDB.$writeTempFile(con('FilenameTemp.html'),Body,kFalse) Returns pathname

Calculate ibrowserRef.$urlorcontrolname as con('file:///',pathname)

hope that is what you are looknig for.

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at
Phone (403) 650-1978

> On February 14, 2022, at 2:25 AM, Rob Mostyn <mostyn at> wrote:
> Hi All,
> I’m just trying to make a shortcut so I can see how web pages look from the fat client window.
> I will probably have to install Apache on my machine and go through apache.  I’m probably just trying to be lazy.  I think the remote task is designed to only be invoked from outside Omnis (e.g. Apache, nginx etc) and I’m just trying to circumvent the intermediary.
> I need to go through the remote task because that has some business logic as well as the page generation.
> I was hoping there would be some hack someone has figured out.  I suspect there is no shortcut here.
> Rob
> Rob Mostyn
> mostyn at
> +44 (0)20 3233 0044
> As Carl Sagan once said:
> One of the great commandments of science is, "Mistrust arguments from authority." ... Too many such arguments have proved too painfully wrong. Authorities must prove their contentions like everybody else.
>> On 14 Feb 2022, at 10:28, Phil (OmnisList) <phil at> wrote:
>> Hi Rob,
>> Omnis seems to think, what appears to be a remote task, is a remote form, and is looking for the remote task to link with it...
>> I don't think that could work with an ultra thin solution?
>> Seems you need to just open a specially crafted web page, that will act like the ultra thin form, but I guess does not need the login, or has it incorporated within it, or needs a bunch of settings to open the specific page you are hoping to display in oBrowser...
>> Or failing that, just open the same login page as a user would have in oBrowser?
>> regards
>> Phil Potter
>> Based in Chester in the UK.
>> On 14/02/2022 00:19, Rob Mostyn wrote:
>>> Hi $All,
>>> I have a conundrum… We have an ultra thin web app which has been working well for years.
>>> As our web app requirements have evolved and become more sophisticated, the complexity of the code has become greater.
>>> The content of web pages is managed through a window in a fat client app (same library opened in different contexts).
>>> What I want to do is from the window class instance to kick off a remote task that will run the desired web object and return the page content back to the window to be displayed in an oBrowser window so I can see the result.  I created a remote task, subclassed from the remote task in the web app and then I try to to this:
>>> Do $classes.rtPageDisplayTest.$open()
>>> When I do this I get the error message:
>>> To use a remote form class, you must set the design task of the remote form class to a remote task
>>> $open is not a method normally available to the remote task but when it is typed in, Omnis syntactically resolves it and applies the coda-chroming to suggest it is a legal statement.
>>> This message does not surprise me.  I am trying to open a remote task from a regular task and I know I am “breaking the rules”.  Has anyone figured out a way to trick Omnis in doing this?
>>> TIA,
>>> Rob Mostyn
>> _____________________________________________________________
>> Manage your list subscriptions at
>> Start a new message -> mailto:omnisdev-en at 
> _____________________________________________________________
> Manage your list subscriptions at
> Start a new message -> mailto:omnisdev-en at 

More information about the omnisdev-en mailing list