[THIN] Tip: How to publish a single document (content)on your Intranet (without using program neighborhood or WI)

  • From: "Jim Kenzig http://ThinHelp.com" <jkenzig@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 8 Mar 2006 09:03:52 -0800 (PST)

Hello everyone,
  Those of you who are from the old school or use web interface know that the 
magic of launching apps happens via an ICA file. Most also know that you can 
create your own ICA files to your applications, save it on your web server and 
publish a link to the web server to launch an app.  How many of you know how to 
do it with a single document? And it is really quite simple!

  You must be running at least Metaframe FR3 to do this I believe where Citrix 
has added the feature of content publishing. (not it is quite easy to add 
single docs to the program neighborhood, I am explaining a way to do it with a 
single link for one file not showing in PN) The trick is with the new parameter 
in the ICA file called LongCommandLine.  This addition lets you add a longer 
parameter from the published app within the ICA file so that you can publish a 
UNC or long link to a file. 
   
  I am going to give an example here of how to do this with a word document. 
  First of all you must have the base application published (ie word, excel, 
powerpoint, adobe, etc) in order to launch the file. In other words if I want 
to publish a direct link to a word document, the user will have to have access 
to a published version of word.
   
  Once the app is published in the Citrix Console it couldn't be easier to 
accomplish publishing a single doc to your intranet or web server. All you need 
to is create an ica file and add the LongCommandLine parameter and save the 
.ica file to your webserver directory. You then just link to the ica file on 
your web page.
   
  To create an ICA file all you need do is right click on your published 
application in the Citrix Console and choose create ICA file and follow the 
wizard and save the file someplace where you can edit it. 
  Open the file and add the LongCommandLine Parameter (which would be the unc 
to the file) and resave it.  Simple as that...
  Here is contents from a sample ICA file for a word document I created so you 
can get the idea. Your server will fill in all the proper parameters when you 
create the ICA file from your app. All you need do is add the LongCommandLine= 
line under the Initial program entry and put in the UNC/location of the file 
you want to open. 
   
  [WFClient]
  Version=2
  TcpBrowserAddress=127.0.0.1
  TcpBrowserAddress2=127.0.0.1
  TcpBrowserAddress3=127.0.0.1
  TcpBrowserAddress4=127.0.0.1
  TcpBrowserAddress5=127.0.0.1
   
  [ApplicationServers]
  Word 2003=
  
  [Word 2003]
  Address=Word 2003
  InitialProgram=#Word 2003
  LongCommandLine=\\FILES\Users\MentorDocs\QUESTIONS-FOR-MENTORS.doc
  ClientAudio=Off
  Compress=On
  TWIMode=On
  DesiredHRES=800
  DesiredVRES=600
  DesiredColor=8
  TransportDriver=TCP/IP
  WinStationDriver=ICA 3.0
  ScreenPercent=0
   
  ------------------
  This example is for a Question for mentors.doc. You need to put the files in  
a share and make sure that everyone has permissions. I would also mark them 
read only if you don't need them edited. Under the LongCommandLine entry all 
you need to do is change it for the UNC for the word document you want to 
publisn.
   
  Finally all you need do is save the file with a name with the extension of 
.ica
  So for example I'd call this Questionformentors.ica or something. Then copy 
the ICA file to the web server and change your link on the page to point to the 
ICA file eg: http://mywebserver/questionformentors.ica would be the link to 
this file.
   
   You can either set it up to open anonymously or with credentials..all when 
you first create the ICA file.   This is a cool way for you to publish forms 
and templates on your intranet and make sure that users can open them if they 
do not have the local app.  It can be done with any file type for any app you 
have published just be creating the initial ICA file from that app and adding 
the unc to the file.  We are using it to publish word templates for things like 
Mileage forms, incident forms and powerpoints. 
   
   
   
   
   
   
   
   


Jim Kenzig 
CEO The Kenzig Group
http://www.kenzig.com
Sponsorships Available!
Blog: http://www.techblink.com
Terminal Services Downloads: http://www.thinhelp.com
Windows Vista: http://www.VistaPop.com
Virtualization: http://www.virtualize-it.com
Games: http://www.stressedpuppy.com

Other related posts:

  • » [THIN] Tip: How to publish a single document (content)on your Intranet (without using program neighborhood or WI)