Solved

Change Event Type Name in sharepoint 2010

Posted on 2013-06-04
3
471 Views
Last Modified: 2013-06-28
Hi,

Does anyone know if it is possible to change the event type names in the Approval workflow in sharepoint 2010? I implemented the out of the box Approval workflow and wish to change the event type from 'workflow initiated' to read 'For Review'.

Regards.
0
Comment
Question by:fogo2000
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39221370
Hi,
there is one possibility which I do not recommend, because it involves modifying an out-of-the-box ASPX file.
Open the file
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\WrkStat.aspx

and place the following code at line 233 (after the history view error placeholder)
(please adjust the path to your jQuery library)
				<script type="text/javascript" src="/_LAYOUTS/RainerJScripts/jquery-1.8.3.min.js" language="javascript"></script>
				<script type="text/javascript">
// <![CDATA[
					jQuery(document).ready(function(){
					jQuery("table[summary='Workflow History'] td:nth-child(3)").each(function() {
						if (jQuery(this).text() == 'Workflow Initiated') {
							jQuery(this).text('For review'); }
						});
					});
// ]]>
				</script>

Open in new window

As the page is used by ALL workflow histories, you might want to implement an additional check on the list id / workflow id.
HTH
Rainer
0
 

Author Comment

by:fogo2000
ID: 39284471
I've requested that this question be deleted for the following reason:

No adequate response to my question.
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39284472
Hi,
the above added code works as described in the question.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now