Solved

Change Event Type Name in sharepoint 2010

Posted on 2013-06-04
3
468 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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi,
the above added code works as described in the question.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

15 Experts available now in Live!

Get 1:1 Help Now