Skip to main content

Posts

Showing posts from 2012

FatalError: Value cannot be null. Parameter name: g

The problem is that it is not sufficient to specify Type="User" for these fields (the UI equivalent field type is "Person or Group"). You also need to add an attribute List="UserInfo" to get it to work properly. If you miss this out it will fail at the import step if the field has been populated. If the field is left blank the import will work, which can give rise to confusing behaviour when you are trying to diagnose the problem. Change Manifest.xml file So your field definition should look something like this: Now your import will work

Copy item from one list to another, using Sharepoint designer workflow 2010

PD Workflow How to create a workflow that copies a list item to another list for this we need basically two lists " Test1" and Test2". 1. Open Sharepoint Site in sharepoint Designer 2. From Ribbonbar click List workflow select the list to create workflow. 3. Enter the Workflow Name. 4. From the ribbonbar click "Condition" from common condtions click "If any value equal value" 5. Write the condition. Here I am writing the source list “Field” equal to destination list “Field”. For writing this codition follw the below steps. a.    Select source list field . b.    Select the Condition from condition dropdown and select the Destination list field. 2.    Now, click on the Actions button to perform what action to be done if the condition is satisfied. 3.    Select ‘Set Field in Current List” Action”, It will display Set “Field” to “Value”. 4.    Click Field hyper link it will show current list field name. Select one field from the list.

Automatically create Word documents which include list fields

Creating Word documents containing List fields http://blogs.technet.com/b/brenclarke/archive/2009/04/15/automatically-create-word-documents-which-include-list-fields.aspx The example has the following components: ·          A document library which has a Word document associated which is used as the basis for all new documents ·          A list containing the fields that we want to pass into a new document ·          A workflow which creates a new Word document and copies the fields from the list into the document Creating the document library A document library is really just a special type of list.   There are some differences in functionality but many of the features remain the same. First we need to create a new document library, in your browser: ·          (Top right) Site Actions > Create ·          Select “Document Library” ·          Name:   Certificates ·          Ensure the “Document template” is set to “Word document” Next we want to add

The password supplied with the username Administrator was not correct ” Error while creating web application in SharePoint

The password supplied with the username was not correct sharepoint Recently I encountered an error while creating web application from central admin site " The password supplied with the username was not correct. Verify that it was entered correctly and try again ". The reason is that administrative password may have been modified but SharePoint farm is still using the old administrative credential. To fix this issue execute below command: stsadm -o updatefarmcredentials -userlogin -password