Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Modifying xsl

  Asked By: Gopal    Date: Sep 29    Category: Sharepoint    Views: 786

has anyone succesfully modified the "approval.xsl" file?...if so...where did
you find it (besides inside the default workspace CAB file)? It seems as
though SharePoint extracts this CAB file to another location, although I
don't know where. I am trying to modify the Approval email and could
desperately use some help.



13 Answers Found

Answer #1    Answered By: Cheyenne Jacobson     Answered On: Sep 29

unfortunately I have no solution for this but am also desperately trying to
find a way to customize the email.

Answer #2    Answered By: Makayla Lewis     Answered On: Sep 29

To customize approval  request e-mail:

1) create a virtual directory (m:), launching the following in the command
Subst m: "\\.\backofficestorage\localhost\SharePoint Portal Server"

2) browse the m: directory to
workspace/system/Subscriptions/Templates folder and copy the approval.xsl
file to a location  where you can work on it (e.g. Desktop)

3) modify  the file  as you wish and then copy it back to templates folder.

Just one problem: when you log off and log on again on the server maybe you
have to create again the virtual directory. So it would be good if you
create a bat file containing this code:
echo off
Subst m: \\.\backofficestorage\localhost\SharePoint Portal Server"

Answer #3    Answered By: Miranda Scott     Answered On: Sep 29

I took a look at the stylesheet and found this bit of code (see below). The
German text says something like: The following document has been approved.
It is now published and can be accessed by all readers of the portal."

I have never ever gotten such a message. But this sounds like a mail someone
gets at the end of the workflow (the author????) to tell him that the doc is
published. We have tried the approval  workflow over and over but we did not
get such a message. Could it be that there is something not working in sps
or something is hidden from the people buying sps, which would be very
unfortunate because this is a function that is only logical and craved for
by all of us???

Maybe there is someone who can tell me if I'm right or wrong. My insight
into XSL/XML is not that professional.

Answer #4    Answered By: Deirdre Macias     Answered On: Sep 29

I was also looking at that peice of code...but we haven't been getting that
email either. If anyone has any ideas, please share them.

Answer #5    Answered By: Kala Solomon     Answered On: Sep 29

2) open Windows Explorer and browse to
M:\workspaces\workspace_name\system\Subscriptions\Templates ...

Answer #6    Answered By: Amanda Lewis     Answered On: Sep 29

It can be found in


Answer #7    Answered By: Cassie Snyder     Answered On: Sep 29

We did successfully modify  two files related to approval  and notifications :
these are approval.xsl and results.xsl
They are located in http://server/workspace/system/subscriptions/Templates .
These might invisible folders, so you have to enable the view invisible
folders option.

Answer #8    Answered By: Parijat Pathak     Answered On: Sep 29

it puts it in the resoruces virtual folder i think.
go to natwork places, and inside  the portal workspace  name, portal, is the
resources folder. i think the folders are hidden so turn view hidden folders
we have moddded the approval  code template - just some colour changes
nothing to heavy.

Answer #9    Answered By: Ella Sargent     Answered On: Sep 29

sometimes the easiest changes to think up are the most
difficult to create. i will be able to sell upper mgmt. on the idea
much easier if i can make the whole package much more aesthetically
pleasing, including emails.

Answer #10    Answered By: Ahmad Johns     Answered On: Sep 29

I have been able to succesfully modify  approval.xsl.
What is the "results.xsl" for? I see it is in the same folder, but I'm
not sure what it controls.

Answer #11    Answered By: Roxanna Hendricks     Answered On: Sep 29

This file  "results.xsl" controls the notifications emails.
For every type of notification sent to a subscriber, the information is taken
from this file.

Answer #12    Answered By: Stacia Guy     Answered On: Sep 29

that will be fun to play with as well. thanks

Answer #13    Answered By: Alton Vance     Answered On: Sep 29

Here's a good one...has anyone figured out how to open a document in an
approval process in its application? (ie: my approval  email gives a
link that opens the document locally...If I could change the properties
of that hyperlink so the document opens right in the webfolder, like
team Services does, then I could simplify the whole approval process.
Team services seems to use a java script reference...any thought?

Didn't find what you were looking for? Find more on Modifying xsl Or get search suggestion and latest updates.