Tuesday, 13 January 2015

Quiz Application in Sharepoint


Try to develop this quiz application

 

You will learn about Data view web part, Parameters passing, Filter, and Session Variables (like getting current user name in Xsl variables) in SharePoint designer

 


 

On clicking this link you will see Part1 of the application.

 

Scroll down the page for the remaining parts.
 
 
 

Showing Project Status in List

Sending SMS alerts in Sharepoint 2010


Like emails, we can send alerts to mobile also

 

Entity Framework 5.0- no need of transformation


In Entity Framework 5.0 no need of transformation ,Data classes can be generated automatically for transformation

Please find the link

 

Move workflow into production environment


Follow the below steps to move workflow into production environment site,

1.       In the Development environment open the SharePoint Designer and export the workflow you want using “Export to Visio”.

2.       Rename the vwi files by adding ".zip" extension, now open the zip file and remove the "workflow.xoml.wfconfig.xml" because it contains the details about the associated list, once you remove the file from the zip folder, the association between the workflow and the list will be removed and the workflow can be associted with any other list.

3.       After removing the "workflow.xoml.wfconfig.xml" file from the zip folder, then again Rename the zip folder by adding ".vwi" extension.

4.       Open SharePoint designer in the production environment and open the site.

5.       Now Click on Workflows.

6.       Click the “Import from Visio” option from the ribbon and select the altered ".vwi" extension file.

7.       System will open the imported Workflow.
Click on Save and then Publish


How to fix an out of sync password issue in SharePoint 2010


SharePoint 2010 now stores service account passwords in the config database.  So if you attempt to change the password in the AD and on the services that use it this will break SharePoint.

 

To fix this issue do the following

  1. Logon to the SharePoint 2010 server as an admin, preferably as the account used to install SharePoint
  2. Open up the SharePoint PowerShell command prompt
  3. Set-SPManagedAccount -UseExistingPassword -Identity DOMAINA\SPSAdmin
    • Where DOMAINA\SPSAdmin is service account that had it's password changed in the AD
  4. You will then be prompted for the existing\new password for "DOMAINA\SPSAdmin"
  5. Run "Repair-SPManagedAccountDeployment" to verify the passwords are now in sync
  6. Next do an IISRESET command
  7. Run Repair-SPManagedAccountDeployment to verify that you do not get this message:
    Repair-SPManagedAccountDeployment : The password for the account DOMAINA\spsadmin, as currently stored in SharePoint, is not the same as the current password for the account within Active Directory. To fix this with PowerShell, run Set-SPManagedAccount -UseExistingPassword.

The Set-SPManagedAccount -UseExistingPassword command will update the config database and service using by this account.

SharePoint 2010 also support automatic password management for service accounts.  See Configure automatic password change for details on this feature.

 

Useful blog:

Service Accounts password change in AD


If we are using service account and password has been changed in AD for service accounts then sites won’t work service unavailable and page can’t be displayed will be showing , at that time need to set the passwords as below.

1)      To update the password from the Central Administration GUI > Security > General Security > Configure Managed Accounts and click edit on the relevant managed account and then select Change password now and then select Use existing password. Enter the password that was entered in AD and click OK.

2)      Reset the IIS

Seting up Single box SharePoint 2013 Virtual Machine

Passing multiple parameters to filter

SharePoint Server 2010 installation on windows 7

SP 2013 Certification syllabus

Calculated Column

Adding Hyperlink to Document Library

Enhanced rich Text field in Document Library