cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Sever Side FOSI file pickup.

sureshmaddela
1-Newbie

Sever Side FOSI file pickup.





Suresh
7 REPLIES 7

Suresh,
Nice empty test post (if that's what it was intended to be).

🙂
Steve Thompson
+1(316)977-0515

Hi ALL,

Sorry for the previous post.


Client Side Custom Application:

Hi ALL,


Client Side Custom Application:

Hi Suresh--



The message "Ignored stylesheet association ..." indicates that there is
a document-specific link between the document and the client-side
stylesheet. This is usually found as a processing instruction near the
top of the document. If you open the document in a text editor, you will
probably see a line something like this near the top:



type="text/x-fosi" media="PDF" alternate="yes"?>



You can either remove the PI in a text editor, or you can remove the
stylesheet association in Editor:



1) open the document

2) from the menus select Format->Select Stylesheets...

3) Select the Print/PDF line, then click the Modify button

4) If any of the entries in the Available Stylesheets list has a
"Yes" in the Association column, select it and click "Delete
Association"



Once you've done that, you should no longer see that error, and it
should pick up the stylesheet from the doctype directory on PE.



Good luck!



--Clay




Hi Clay,

Thanks for you inputs. Really appreciated.



In additional to my previous custom Application setup:



At Client Side custom Application:

Hi Suresh-



A more robust way to do this, i.e. manage separate editor and print
stylesheets, is to put the stylesheets in the doc type directory, and
make sure each stylesheet's APT Stylesheet processing instruction has
the correct info about the composition types it supports. You can set it
up like this:



1) For client:

a. Make the editor stylesheet name match the DTD name. In other
words, if DTD is mydoctype.dtd, then make the editor stylesheet
mydoctype.fos

b. Edit the Stylesheet PI in that stylesheet so the
CompositionTypes field does NOT contain "pdf" or "print"

c. Make the print stylesheet have a different name, e.g.
mydoctype_print.fos

d. Edit the Stylesheet PI in that stylesheet so the
CompositionTypes field DOES contain "pdf" and "print" (this is probably
true already)

2) For server:

a. Put a copy of the print stylesheet there, making sure it
contains the "pdf" and "print" options for CompositionTypes in the
Stylesheet PI.



Finally, remove the hard-coded stylesheet associations from your actual
document files. After you've done that, Arbortext should be able to
successfully find the right stylesheet for the right task, whether you
are composing locally or on the server.



Good luck!



--Clay


Hi Clay,




Thanks for your response.

It was quite helpful.




Suresh
Top Tags