Solved

Change Event Type Name in sharepoint 2010

Posted on 2013-06-04
3
482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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