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,
It is working if we provide below expression in textobject.
=if(len(ClientPlatform())>0,'Web Mode','Desktop Mode')
Thanks.
ClientPlatform()?
Hi jason, thanks for your reply.
i didn't get what is client platform ?
i think that you are asking about the below details :
using Server version and Ajax Zero Foot Print.
if i am wrong please correct me.
Thanks in advance.
Hi,
It is working if we provide below expression in textobject.
=if(len(ClientPlatform())>0,'Web Mode','Desktop Mode')
Thanks.
That was what I was pointing to. Glad you put it into a working expression.
Thanks jason.
After looking in your previous post i.e; ClientPlatform , i tried in different ways then i got final best solution.
Thanks for your idea.
Regards
venkat
Hi jason,
Why ClientPlatform() function is not working Internet Explorer ?
Is there any steps to follow when working in IE browser ?
Thanks in advance.
Should work fine. Is the plugin installed?
Hi,
Yes i had installed IE plugin, but not able to see the function ClientPlatform.
Thanks in advance.
What do you mean "not able to see it"? Are you trying to add it in to an object using the web viewer? It's probably only available for use in the desktop client (but will present results in the web)
Jason