Posts

Showing posts from March, 2015

Getting & Setting SharePoint Form Fields -Jquery(SharePoint)

Question 1: From where to download JQuery Base Library? Answer 1:  http://code.jquery.com/jquery-1.7.2.min.js Question 2: How to include JQuery Script? Answer 2: Upload the JQuery base library to the Assets list and include the library using the below syntax <script type="text/javascript" src="../../Assets/jquery-1.7.2.min.js"></script> Question 3: What attribute to use for getting the INPUT object? Answer 3: We need to use the  title  attribute of the INPUT control <input name="ctl00$m$g_e2bcfa9c_6e16_4b44_9833_22e44201a72b$ctl00$ctl04$ctl03$ctl00$ctl00$ctl04$ctl00$ctl00$TextField" type="text" maxlength="255" id="ctl00_m_g_e2bcfa9c_6e16_4b44_9833_22e44201a72b_ctl00_ctl04_ctl03_ctl00_ctl00_ctl04_ctl00_ctl00_TextField" title=" Email " class="ms-long" /> Question 4: How to write JQuery function? Answer 4: <script type="text/javascript" src="../../Assets/jquery-1....

Use Person/Group Picker in Infopath form to send multiple contacts to a SharePoint Workflow

Image
Working on a Policies and Procedures form in Infopath 2010. We have a single field where a user can select multiple reviewers for the workflow. The problem is, I couldn't seem to access this group in SharePoint Designer's workflow tool. This is the workaround. Add a hidden plain text field - I called mine 'Reviewers' Set the default value to this formula eval(eval(Person, 'concat(pc:AccountId, "; ")'), "..") You may have to manually select the 'Person' part (see below). Be sure to select the person folder and click OK. In the field properties, make sure the 'Refresh value when formula is recalculated' box is checked. The formula above will select each person from the group and separate them by semi-colons (see below). use this Test box field(Reviewers String) in the workflow (To address). Please use the original post:http://somethingcode-ish.blogspot.com/2012/08/use-persongroup-picker-in-infopath-form.html

SharePoint Event Receiver Manager (2007 & 2010)

https://speventreceiverman.codeplex.com/