Solved

Change Event Type Name in sharepoint 2010

Posted on 2013-06-04
3
475 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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