Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am trying to display the text when the application is opened in Server as "opened in server" or in Desktop as "opened in desktop".
i tried below macro code it is working in desktop app but not working in server.
Please can anyone suggest any other way by not using macros can we work on this ?
sub WebView
set docprop = ActiveDocument.GetProperties
set v = ActiveDocument.GetVariable("vViewMode")
if(docprop.UseAjaxUI) then
v.SetContent "Web view Mode",true
else
v.SetContent "Desktop view Mode",true
end if
End Sub
Thanks in advance.
Hi,
In my current "Desktop" app, taken new textobject in that written expression as below
=if(len(ClientPlatform())>0,'Web','Desktop')
and saves application. And places this app in the server path.
1.) In Desktop app shows result empty(null).
2.) In Chrome shows "browser.chrome"
3.) In Internet Explorer shows result empty(null).
I hope you got clearly what i had done.
Please let me know if any doubt.
Thanks in advance.