Friday, April 5, 2013

Monday, March 14, 2011

Programmaticaly create Folder Structure in Document Library using Jquery and SPServices()

1. Create a custom folder content type.
2. Use CEWP to write jquery code and UI
3. Use SPServices() to programatically create folders and sub-folders based on the custom content type and update it's meta-data.


Image Changer Jquery

Jquery snippet to switch image link in SP List View Item.

Friday, January 7, 2011

SharePoint Survey Custamization

Tutorial how to customize SharePoint Survey by adding a custom aspx control using jquery.

1.Step:
Create a custom SP list that will be populated thru sharepoint survey new form.
2.Create Sp Survey and add lookup field to Custom SP list.
3.Edit SP survey new page and add CEWP and hide survey web part.
4.Open page in SP Designer and crete custom form.
INSERT>SHAREPOINT_CONTROLS>CUSTOM_LIST_FORM>SURVEY NAME


5.Add Label,Text Box and Button beside lookup control.


6.Add JQuery code into CEWP to enable adding a new items into lookup field from sharepoint survey.






Sunday, September 12, 2010

SCHEDULING BACKUP THRU BATCH FILE

Full and Differential backup script.




Use Server 2003 Task Scheduler to run backup from .bat batch file!

Wednesday, June 9, 2010

LDAP query C#

GET ALL AD GROUPS:


GET ALL USERS FROM AD GROUP:



GET ALL GROUPS USER IS MEMBER OF:



ASPX PAGE CODE:



FORM:

Wednesday, April 14, 2010

SHOW DOCUMENT LIBRARY SPECIFIC ITEMS IN THE INFOPATH FORM REPEATING TABLE

STEP ONE: Create one InfoPath form library as well as one Ducument Library.


Master Form Appendixes document library that will be shown in an Infopath Form repeating table.


Connected Document Items with InfoPath SOP Form.

STEP TWO: Create secondary "XML owssvr.dll" document library conection with your form.

How to create connection see: http://www.bizsupportonline.net/blog/2009/07/pre-filter-large-sharepoint-list-infopath-wss-owssvr-dll/"

STEP THREE: Drag and Drop XML tree data from secondary source into form as repeating table.


STEP FOUR:Edit InfoPath C# form code on loading event and write following methods to pass parameter (Use specific field on your form) and filter your document library.


STEP 5: Publish your form on server and you should see your specific items from document library in your InfoPath browser's form repeating table.