Hi,
I would like to try and set the Filter field in 'PS 2013 > PWA > Tasks' to default to the "Custom Filter..." option with the
following setting:
- Field Name = "Resource Name"
Test = "does not equal"
Value = the user who is logged in (I am wondering how I will be able to get this)
Can I achieve this by adding a "Content Editor" web part to the Tasks page, and use javascript to accomplish this?
This is the first time I am attempting javascript on my own. So the following code is just my attempt to try and hack my way at reaching the Filter feature, but I have had no luck so far after trying to find info on the web. Any assistance would be greatly appreciated.
<script type="text/javascript" src="/PWA/SiteAssets/jquery-1.8.3.min[1].js"></script>
<script>
$(document).ready(function(){
$("Ribbon.ContextualTabs.MyWork.Home.Data.FilterDropdown").val("Overdue Tasks");
});
</script>
ps. I found some code that I have model this script from it had suggested I download this file (jquery-1.8.3.min[1].js), which I did. Don't really know if I need it.
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)