tag:blogger.com,1999:blog-219541368601533642024-03-13T08:55:13.725-07:00siddiqali-sharepointمحمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comBlogger98125tag:blogger.com,1999:blog-21954136860153364.post-15891747411932048662018-09-12T06:35:00.000-07:002018-09-12T06:35:37.463-07:00Fetch data from multiple lists using SPSITEDATAQUERY<div dir="ltr" style="text-align: left;" trbidi="on">
I knew posting on SPSITEDATAQUERY to too old , But recently I came ac-crossed requirement to get data from multiple lists . But I am posting this to keep the query handy<br />
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;">SPSiteDataQuery query = </span><span style="color: blue; font-family: "courier new"; font-size: 10.0pt;">new</span><span style="font-family: "courier new"; font-size: 10pt;"> SPSiteDataQuery ();<o:p></o:p></span></div>
<pre> <span style="color: green; mso-ansi-language: EN-US; mso-fareast-language: EN-US;">// Query all Web sites in this site collection.</span><o:p></o:p></pre>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> Query. Webs = </span><span style="color: #a31515; font-family: "courier new"; font-size: 10.0pt;">"<Webs Scope=\"SiteCollection\">"</span><span style="font-family: "courier new"; font-size: 10pt;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> </span><span style="color: green; font-family: "courier new"; font-size: 10.0pt;">//Ask for all lists created from the
contacts template.</span><span style="font-family: "courier new"; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> Query. Lists = </span><span style="color: #a31515; font-family: "courier new"; font-size: 10.0pt;">"<Lists
ServerTemplate=\"105\" />"</span><span style="font-family: "courier new"; font-size: 10pt;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> </span><span style="color: green; font-family: "courier new"; font-size: 10.0pt;">// Get the Title (Last Name) and First
Name fields.</span><span style="font-family: "courier new"; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> query.ViewFields = </span><span style="color: #a31515; font-family: "courier new"; font-size: 10.0pt;">"<FieldRef
Name=\"Title\" />"</span><span style="font-family: "courier new"; font-size: 10pt;">; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "courier new"; font-size: 10pt;"> query.ViewFields += </span><span style="color: #a31515; font-family: "courier new"; font-size: 10.0pt;">"<FieldRef
Name=\"FirstName\" Nullable=\"TRUE\"/>"</span><span style="font-family: "courier new"; font-size: 10pt;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<br /></div>
<span style="font-family: "courier new"; font-size: 10pt;"> </span><span style="font-family: "courier new"; font-size: 10pt;">DataTable results =
web.GetSiteData (query);</span> </div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-46609554549829973362018-09-12T06:31:00.003-07:002018-09-12T06:31:36.073-07:00Manage cloud identities with Windows using PowerShell <div dir="ltr" style="text-align: left;" trbidi="on">
<span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Courier; font-size: 14.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-bidi-font-family: Courier; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: Courier; mso-fareast-language: EN-US;"></span><br />
<h3>
<span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;"><span style="color: #333333; font-family: Georgia, serif;"><span style="background-color: white;">Changing
Password</span><span style="background-color: white;"><br /></span></span></span><span style="font-weight: normal;">Set-MsolUserPassword <span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Georgia, serif; font-size: 14pt; line-height: 107%;">–UserPrincipalName siddiq.ali</span><span lang="EN-IN" style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 107%;"><a href="mailto:don.funk@adatum365er.onmicrosoft.com"><span style="background: white; font-family: "Georgia","serif"; font-size: 14.0pt; line-height: 107%; mso-bidi-font-family: Georgia; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Georgia;">@mycompany.onmicrosoft.com</span></a></span><span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Georgia, serif; font-size: 14pt; line-height: 107%;"> –NewPassword Pa$$w0rd –ForceChangePassword
$true</span></span></h3>
<br />
<span lang="EN-IN" style="background: white; color: #4a3c31; font-family: "Georgia","serif"; font-size: 14.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-bidi-font-family: Georgia; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: Georgia; mso-fareast-language: EN-US;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #333333; font-family: inherit, serif; font-size: 14pt; line-height: 107%;"><b>Importing bulk users in Office 365 using Powershell</b></span></span><br />
<span style="background-color: white; color: #4a3c31; font-family: Courier; font-size: 14pt;">$NewUsers =
Import-Csv –path .\NewUsers.csv</span><br />
<span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Georgia, serif; line-height: 107%;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #333333; line-height: 107%;"></span></span><br />
<div class="MsoNormal" style="font-size: 14pt;">
<span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Courier; font-size: 14.0pt; line-height: 107%; mso-bidi-font-family: Courier; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Courier;"><br /></span></div>
<div class="MsoNormal" style="font-size: 14pt;">
<span lang="EN-IN" style="background: white; color: #4a3c31; font-family: Courier; font-size: 14.0pt; line-height: 107%; mso-bidi-font-family: Courier; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Courier;"></span></div>
<h3 style="font-size: 14pt;">
<span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: inherit, serif; font-size: 14pt; line-height: 107%;">Applying Strong Password to the users<br /><span style="font-weight: normal;">Set-MsolUser
–UserPrincipalName siddiq.ali@mycompany.onmicrosoft.com<br />
–StrongPasswordRequired $true</span><o:p></o:p></span></h3>
<h3 style="text-align: left;">
<span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 107%;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 107%;"><b><span style="font-size: 11pt;">Powershell to set password to get never expires</span><span style="font-size: 14.6667px;"><br /></span></b></span></span><span style="font-weight: normal;"><span style="font-size: 14pt;">Get-MsolUser |
Set-MsolUser </span><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #4a3c31; font-family: Georgia, serif; font-size: 14pt; line-height: 107%;">–PasswordNeverExpires
$true</span></span></h3>
<h3 style="font-size: 14pt; text-align: left;">
<span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: inherit, serif; font-size: 14pt; line-height: 107%;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 11pt; line-height: 107%;"><b>Configure password expiration</b></span></span></h3>
<div>
<span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: inherit, serif; font-size: 14pt; line-height: 107%;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 11pt; line-height: 107%;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #4a3c31; font-family: Courier; font-size: 14pt; line-height: 107%;">Set-MsolUser </span><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #4a3c31; font-size: 14pt; line-height: 107%;">–UserPrincipalName
siddiqali.mohammad@mycompany.onmicrosoft.com<br />
–PasswordNeverExpires $true</span></span></span></div>
<span style="font-size: 14pt;"><b></b></span></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-12650246034443570042018-09-12T06:22:00.003-07:002018-09-12T06:22:47.988-07:00REST API to filter null values for SharePoint list items<div dir="ltr" style="text-align: left;" trbidi="on">
I am working for SharePoint online and I came crossed to get sharepoint list items based on null values via OTB web-part. Using IE browser I came to knew that I finding no luck to crack it.<br /><br />
Solution:<br />
<br />
1. Use @v1 parameter for your rest api<br />
2. And append the caml query @v1using $select<br />
<br />
<div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<a href="http://ecm.somesite.net/_api/web/Lists/GetByTitle('Documents')/GetItems(query=@v1)?@v1=%7b%22ViewXml%22:%22%3cView%3e%3cQuery%3e%3cWhere%3e%3cAnd%3e%3cIsNull%3e%3cFieldRef">http://mysharepointsite/_api/web/Lists/GetByTitle('Documents1')/GetItems(query=@v1)?@v1={"ViewXml":"<View><Query><Where><And><IsNull><FieldRef</a>
Name='Selection'/></IsNull><Eq><FieldRef
Name='EmpNumber'><Value
Type='Text'>51457270</Value></Eq></And></Where></Query></View>"}&$select=Title</div>
<br />
<br /></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-38702347907988242102017-08-25T03:12:00.002-07:002017-09-18T06:26:11.703-07:00Unable to edit web part in a page<div dir="ltr" style="text-align: left;" trbidi="on">
One of my business user added the page in site pages and included web part in it<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-3iXBV93dGkY/WZ_rFB0PwBI/AAAAAAAABmg/A5QvG6dwyD4MfUhIjuUMWSqsX0BKLPjMgCLcBGAs/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="695" data-original-width="1589" height="278" src="https://1.bp.blogspot.com/-3iXBV93dGkY/WZ_rFB0PwBI/AAAAAAAABmg/A5QvG6dwyD4MfUhIjuUMWSqsX0BKLPjMgCLcBGAs/s640/1.png" width="640" /></a></div>
<div>
<br /></div>
<div>
And tried to edit the web-part , But I found no luck in getting the options</div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-K2_FraWCWKs/WZ_0oFGt2PI/AAAAAAAABmw/fjAD5RRYdVYS9XjKI6OY6YUlG6zOi8eTwCLcBGAs/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="315" data-original-width="835" height="240" src="https://3.bp.blogspot.com/-K2_FraWCWKs/WZ_0oFGt2PI/AAAAAAAABmw/fjAD5RRYdVYS9XjKI6OY6YUlG6zOi8eTwCLcBGAs/s640/1.png" width="640" /></a></div>
<div>
Solution:</div>
<div>
<ol class="ng-scope x-hidden-focus" style="background-color: white; box-sizing: border-box; font-family: "Segoe UI", "Segoe UI Web", "Segoe UI Symbol", "Helvetica Neue", "BBAlpha Sans", "S60 Sans", Arial, sans-serif; font-size: 15px; margin: 0px;">
<li style="box-sizing: border-box; margin-bottom: 20px;">Open Internet Explorer, select the <span style="box-sizing: border-box; font-weight: 700;">Tools </span>button <span class="win-icon win-icon-Settings" style="box-sizing: border-box; display: inline-block; font-family: "dev center mdl2 assets" , "membership mdl2 assets"; line-height: 1; outline: none; position: relative; top: 1px; vertical-align: baseline;"></span>, and then select <span style="box-sizing: border-box; font-weight: 700;">Compatibility View settings</span>.</li>
<li class="x-hidden-focus" style="box-sizing: border-box; margin-bottom: 20px;">Under <span style="box-sizing: border-box; font-weight: 700;">Add this website</span>, enter the URL of the site you want to add to the list, and then select <span style="box-sizing: border-box; font-weight: 700;">Add </span></li>
</ol>
<div>
<span style="font-family: segoe ui, segoe ui web, segoe ui symbol, helvetica neue, bbalpha sans, s60 sans, arial, sans-serif;"><span style="font-size: 15px;"><b> or</b></span></span></div>
</div>
<div>
<span style="font-family: segoe ui, segoe ui web, segoe ui symbol, helvetica neue, bbalpha sans, s60 sans, arial, sans-serif;"><span style="font-size: 15px;">Else it should be Microsoft Product issue</span></span></div>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-49026543853462566372017-08-22T00:06:00.000-07:002017-08-25T02:15:17.811-07:00Set the co-authoring Limit for Web-application<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Add-PSSnapin Microsoft.SharePoint.PowerShell<br />
$site = Get-SPSite -Identity https://yourwebapplicationURL <br />
$site.Url<br />
$site.WebApplication.WebService.CoauthoringMaxAuthors=19<br />
$site.WebApplication.WebService.Update()<br />
$site.Dispose()<br />
Write-Host $site.WebApplication.WebService.CoauthoringMaxAuthors<br />
<br />
The main purpose of the co-authoring is to limit the users for editing the particular document in document library .If the document is editing by too many users then users looses the UI experiance instantly ,So we limit the users interaction with co-authoring</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-20703366232868655192017-07-20T06:07:00.003-07:002017-07-20T06:07:34.418-07:00Find SharePoint Correlation-ID with Powershell<div dir="ltr" style="text-align: left;" trbidi="on">
Today when I entered into my machine , I was getting correlation ID . I don't know where my team members changed the location of Log files from Hive 15 folder .<br /><br /><div>
Then I used below by opening SharePoint Powershell command as administrator to fetech the log files </div>
<div>
<br /></div>
<div>
Step 1: Merge-SPLogFile -Path ".\error.log" -Correlation "Correlation-ID"</div>
<div>
Step 2: dir *.log</div>
<div>
<br /></div>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-54486629287306847192017-06-20T01:57:00.003-07:002017-06-20T01:57:53.730-07:00Powershell to find total documents in Farm<div dir="ltr" style="text-align: left;" trbidi="on">
Get-SPSite -Limit All | Get-SPWeb -Limit All | % { $_.Lists} | ? { $_ -is [Microsoft.SharePoint.SPDocumentLibrary] } | % { $total+= $_.ItemCount} ; $total</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-82060555122830390582017-06-20T01:57:00.000-07:002017-06-20T01:57:03.519-07:00Count total documents from all document libraries of Site Collection using PowerShell<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
$site = New-Object Microsoft.Sharepoint.SPSite("https://site collection name or any site"); # Get spsite object<br />
$body = "Site Collection Document Audit for $site`r`n"<br />
foreach ($web in $site.AllWebs)<br />
{<br />
$url = $web.Url;<br />
$body = $body + "Web: $url`r`n";<br />
$lists = $web.GetListsOfType(1); #Get all document libraries;<br />
foreach($list in $lists)<br />
{<br />
<br />
$count = $list.Items.Count;<br />
$title = $list.Title<br />
$body = $body + " - $title :$count items.`r`n"<br />
}<br />
$body = $body + "`r`n";<br />
write-host $body<br />
$web.Dispose();<br />
}<br />
$site.Dispose();</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-30546114656357902922017-06-12T04:14:00.001-07:002017-06-12T05:01:46.438-07:00Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache<div dir="ltr" style="text-align: left;" trbidi="on">
SharePoint 2013 / 2016 uses app-fabric to host couple of cache cluster in this process the services of App fabric might get stooped due to it's time line . Also need to rights<br />
<br />
<b>Solution 1 :</b> Start the App Fabric cahcing services in Services.msc and reset IIS<br />
<br />
<b>Solution 2:</b> Extend the cache Settings with powershell<br />
<br />
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17.5px; margin-bottom: 10px;">
$set = <a href="http://technet.microsoft.com/en-us/library/jj219784(v=office.15).aspx" style="background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;">Get-SPDistributedCacheClientSetting</a> -ContainerType DistributedViewStateCache</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17.5px; margin-bottom: 10px;">
$set.requestTimeout = “100” # normally it’s 20ms</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17.5px; margin-bottom: 10px;">
$set.channelOpenTimeOut = “100” # normally it’s 20ms</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17.5px; margin-bottom: 10px;">
# maybe change the other values too</div>
<div style="background-color: white; box-sizing: border-box;">
<div style="color: #333333; font-family: "segoe ui", tahoma, arial, "helvetica neue", helvetica, sans-serif; font-size: 17.5px;">
Set-SPDistributedCacheClientSetting -ContainerType DistributedViewStateCache $set</div>
<div style="color: #333333; font-family: "segoe ui", tahoma, arial, "helvetica neue", helvetica, sans-serif; font-size: 17.5px;">
<b><br /></b>
<b>Solutions 3: </b><span style="color: #2a2a2a; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif; font-size: 13px;">The server farm account, which is also referred to as the database access account, is used as the application pool identity for Central Administration</span></div>
<div style="color: #333333; font-family: "segoe ui", tahoma, arial, "helvetica neue", helvetica, sans-serif; font-size: 17.5px;">
<span style="color: #2a2a2a; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif; font-size: 13px;"><br /></span>
</div>
<ul style="color: black; font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">
<li style="list-style-image: none;"><div style="color: #2a2a2a; line-height: 18px; padding-bottom: 15px;">
Membership in the WSS_ADMIN_WPG Windows security group for the SharePoint Foundation 2013 Timer service.</div>
</li>
<li style="list-style-image: none;"><div style="color: #2a2a2a; line-height: 18px; padding-bottom: 15px;">
Membership in WSS_RESTRICTED_WPG for the Central Administration and Timer service application pools.</div>
</li>
<li style="list-style-image: none;"><div style="color: #2a2a2a; line-height: 18px; padding-bottom: 15px;">
Membership in WSS_WPG for the Central Administration application pool.</div>
</li>
</ul>
<div>
<span style="font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px;"><b>Solution 4 </b>: Use the commands to stop ,remove and start the distributed service</span></span></div>
<div>
<span style="font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px;"><br /></span></span></div>
<div>
<span style="color: #2a2a2a; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif; font-size: 14px;">Stop-SPServiceInstance</span></div>
<div>
<span style="color: #2a2a2a; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif; font-size: 14px;">Remove-SPDistributedCacheServiceInstance</span></div>
<div>
<span style="color: #2a2a2a; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif; font-size: 14px;">Add-SPDistributedCacheServiceInstance</span></div>
</div>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-38587150036740670812017-05-12T08:36:00.000-07:002017-05-12T08:36:03.615-07:00Windows Server AppFabric is not correctly configured.You Should uninstall Windows Server Appfabric and reinstall it using The SharePoint Products Preparation Tool.<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Dear All,<br />
<br />
While installing sharepoint 2013 & 2016 I have been facing annoying error which is below screenshot<br />
<img alt="72" height="400" src="https://mohamedelkassas.files.wordpress.com/2014/06/72.jpg?w=700" width="640" /><br />
<br />
We all knew that we it shows frustrated repeated error <br />
<strong style="background-color: white; box-sizing: inherit; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><span style="color: blue;"><br /></span></span></strong>
<strong style="background-color: white; box-sizing: inherit; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><span style="color: blue;">Windows Server AppFabric is not correctly configured.You Should uninstall Windows Server Appfabric and reinstall it using The SharePoint Products Preparation Tool</span></span></strong><br />
<strong style="background-color: white; box-sizing: inherit; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><span style="color: blue;"><br /></span></span></strong>
I tried below 2 ways which helped me to solve the issue<br /><b style="background-color: white; font-family: Ubuntu, sans-serif; font-size: 16px;">Solution 1 : </b><br />
<span style="background-color: white; box-sizing: inherit; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><br /></span></span>
<div style="background-color: white; border: none; font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; list-style-type: none; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 20.162px; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #333333;">$SharePoint2013Path = "D:\Appl\SP"</span></span></span><strong style="box-sizing: inherit; color: #2a2a2a; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><span style="font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal;"><br />Start-Process "$SharePoint2013Path\PrerequisiteInstaller.exe" /KB2671763:$SharePoint2013Path\PrerequisiteInstallerFiles\AppFabric1.1-RTM-KB2671763-x64-ENU.exe</span></span></strong></div>
<strong style="background-color: white; box-sizing: inherit; font-family: Ubuntu, sans-serif; font-size: 16px;"><span style="box-sizing: inherit;"><span style="color: #2a2a2a; font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal;">Start-Process "$SharePoint2013Path\PrerequisiteInstaller.exe" /AppFabric:$SharePoint2013Path\PrerequisiteInstallerFiles\WindowsServerAppFabricSetup_x64.exe</span></span></strong><br />
<br />
<b>Solution 2:</b><br />
<ul style="background-color: white; box-sizing: inherit; color: #303644; font-family: Ubuntu, sans-serif; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.5em 3em; padding: 0px;">
<li style="box-sizing: inherit;">Move WindowsServerAppFabricSetup_x64.exe to drive C:/</li>
<li style="box-sizing: inherit;">Type the following command line in PowerShell.<br /><br />\WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac<br /> <br /> <div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-OYno0qsd8Hg/WRXV4wmq-hI/AAAAAAAABWc/mUm9ac-FKcAkn-CbPKMHNyjmGhO75gQoQCLcB/s1600/Screenshot_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="61" src="https://4.bp.blogspot.com/-OYno0qsd8Hg/WRXV4wmq-hI/AAAAAAAABWc/mUm9ac-FKcAkn-CbPKMHNyjmGhO75gQoQCLcB/s400/Screenshot_1.png" width="400" /></a></div>
</li>
</ul>
<div>
<span style="color: #303644; font-family: Ubuntu, sans-serif;"> or<br /> .\WindowsServerAppFabricSetup_x64.exe /i /gac</span></div>
<br />
<br />
<br /></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-47119629401470639862017-01-30T08:46:00.001-08:002017-05-12T08:36:32.505-07:00SharePoint "Cannot connect to the configuration database" occuring on opening SharePoint 2013 Central Admin or Portal<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; border: 0px; clear: both; color: #444444; font-family: "Segoe UI", Segoe, "Helvetica Neue", "Lucida Grande", Arial, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<strong style="border: 0px; margin: 0px; padding: 0px;">Go Start Menu -> Run -> Type "Services.msc" -> find "SQL (SHAREPOINT) Service" -> just Start it</strong></div>
<div>
<strong style="border: 0px; margin: 0px; padding: 0px;"><br /></strong></div>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-14955680613809013722016-10-09T00:08:00.002-07:002016-10-09T00:08:29.272-07:00Get Login UserName fon Preload of SharePoint List "NewForm.aspx"<div dir="ltr" style="text-align: left;" trbidi="on">
Step 1: Downlaod SPServices.js latest files<br />
<br />
Step 2: Place the J.s filed into Asset Libraries<br />
<br />
Step 3 :Replace the url of the SP.Services to your Side from below yellow color highlighted url<br />
<br />
Step 4: Change the first parameter Name which should be the column from "Title" to your list column name in the function<br />
SetUserFieldValue("Title",loginName);<br />
<br />
<script src="https://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js" type="text/javascript"></script><br />
<br />
<script src="/<span style="color: #f1c232;">SiteAssets/jquery.SPServices-2014.02.js</span>" type="text/javascript"></script><br />
<br />
<br />
<script type="text/javascript"><br />
<br />
$(document).ready(function () {<br />
<br />
var loginName= $().SPServices.SPGetCurrentUser();<br />
<br />
SetUserFieldValue("Title",loginName);<br />
<br />
<br />
<br />
function SetUserFieldValue(fieldName, userName) {<br />
<br />
var _PeoplePicker = $("div[title='" + fieldName + "']");<br />
<br />
var _PeoplePickerTopId = _PeoplePicker.attr('id');<br />
<br />
var _PeoplePickerEditer = $("input[title='" + fieldName + "']");<br />
<br />
_PeoplePickerEditer.val(userName);<br />
<br />
var _PeoplePickerOject = SPClientPeoplePicker.SPClientPeoplePickerDict[_PeoplePickerTopId];<br />
<br />
_PeoplePickerOject.AddUnresolvedUserFromEditor(true);<br />
<br />
}<br />
<br />
});<br />
</script><br />
<br /></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-30493375115309157682016-08-24T04:59:00.001-07:002016-08-24T04:59:40.241-07:00Tabs for SharePoint Lists and Document Library<div dir="ltr" style="text-align: left;" trbidi="on">
As we knew there are Bootstrap,Jquery and Angular JS tabs which are not fine to use sharepoint list iframe. So we have wounder-full post from "Mr.Mark" in his blog on "<a href="http://www.markrackley.net/2014/11/25/sharepoint-tabbed-web-partshillbillytabs2-0/">Hillbillytabs</a>" for sharepoint which is the below code<br />
<br />
<br />
<!-- Reference the jQueryUI theme's stylesheet on the Google CDN. Here we're using the "Start" theme --><br />
<link type="text/css" rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/start/jquery-ui.css" /><br />
<!-- Reference jQuery on the Google CDN --><br />
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"></script><br />
<!-- Reference jQueryUI on the Google CDN --><br />
<script type="text/javascript" src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script><br />
<br />
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.cookie/1.4.1/jquery.cookie.min.js"></script><br />
<br />
<script type="text/javascript"><br />
jQuery(document).ready(function($) {<br />
<br />
<br />
//Put 3 web parts in 3 different tabs<br />
// var webPartTitles = ["Web Part Title 1","Web Part Title 2","Web Part Title 3"];<br />
// HillbillyTabs(webPartTitles);<br />
<br />
//Create a Tab with Two Web Parts, and a second tab with one Web Part<br />
// var webPartTitles = ["Tab Title;#Web Part Title 1;#Web Part Title 2","Web Part Title 3"];<br />
// HillbillyTabs(webPartTitles);<br />
<br />
//Put all web parts (that have visible titles) on page that have into tabs<br />
HillbillyTabs();<br />
<br />
});<br />
<br />
<br />
function HillbillyTabs(webPartTitles)<br />
{<br />
if(webPartTitles == undefined)<br />
{<br />
var CEWPID = "";<br />
$("#tabsContainer").closest("div [id^='MSOZoneCell_WebPart']").find("span[id^='WebPartCaptionWPQ']").each(function()<br />
{<br />
CEWPID = $(this).attr("id");<br />
});<br />
<br />
var index = 0;<br />
$("span[id^='WebPartCaptionWPQ']").each(function()<br />
{<br />
if($(this).attr("id") != CEWPID)<br />
{<br />
var title = $(this).prev("span").text();<br />
<br />
$("#HillbillyTabs").append('<li><a href="#Tab'+index+'" id="TabHead'+index+'" onclick="HillbillyTabClick(this.id);">'+<br />
title+'</a></li>').after('<div id="Tab'+index+'"></div>');<br />
<br />
var webPart = $(this).prev("span").hide().closest("span").closest("[id^='MSOZoneCell_WebPart']");<br />
<br />
$("#Tab" + index).append((webPart));<br />
index++;<br />
}<br />
});<br />
} else {<br />
for(index in webPartTitles)<br />
{<br />
var title = webPartTitles[index];<br />
var tabContent = title.split(";#");<br />
if (tabContent.length > 1)<br />
{<br />
$("#HillbillyTabs").append('<li><a href="#Tab'+index+'" id="TabHead'+index+'" onclick="HillbillyTabClick(this.id);">'+<br />
tabContent[0]+'</a></li>').after('<div id="Tab'+index+'"></div>');<br />
<br />
for(i = 1; i < tabContent.length; i++)<br />
{<br />
$("span[id^='WebPartCaptionWPQ']").each(function()<br />
{<br />
$(this).prev("span:contains('"+tabContent[i]+"')").each(function()<br />
{<br />
if ($(this).text() == tabContent[i]){<br />
<br />
var webPart = $(this).closest("span").closest("[id^='MSOZoneCell_WebPart']");<br />
<br />
$("#Tab" + index).append((webPart));<br />
}<br />
<br />
});<br />
});<br />
}<br />
}<br />
else<br />
{<br />
$("span[id^='WebPartCaptionWPQ']").each(function()<br />
{<br />
$(this).prev("span:contains('"+title+"')").each(function()<br />
{<br />
if ($(this).text() == title){<br />
$("#HillbillyTabs").append('<li><a href="#Tab'+index+'" id="TabHead'+index+'" onclick="HillbillyTabClick(this.id);">'+<br />
title+'</a></li>').after('<div id="Tab'+index+'"></div>');<br />
<br />
var webPart = $(this).hide().closest("span").closest("[id^='MSOZoneCell_WebPart']");<br />
<br />
$("#Tab" + index).append((webPart));<br />
}<br />
<br />
});<br />
});<br />
}<br />
}<br />
}<br />
$("#tabsContainer").tabs();<br />
<br />
ShowActiveTab();<br />
<br />
}<br />
<br />
<br />
function HillbillyTabClick(id)<br />
{<br />
$.cookie("ActiveTab",id,{ path: '/' });<br />
}<br />
<br />
function ShowActiveTab()<br />
{<br />
$("#" + $.cookie("ActiveTab")).click();<br />
}<br />
<br />
</script><br />
<div id="tabsContainer"><ul id="HillbillyTabs"></ul></div></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-52201540893692871252016-08-22T23:33:00.001-07:002016-08-22T23:33:11.961-07:00Quick Flow Chart Controls Information <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
<a href="https://4.bp.blogspot.com/-TKsLGwaEK5Q/V7vsYOFvkWI/AAAAAAAAA9k/zAlcnOF__mA3v6hT1fSIgjPVM3gVZLeygCLcB/s1600/Designelements-Flowchart.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="296" src="https://4.bp.blogspot.com/-TKsLGwaEK5Q/V7vsYOFvkWI/AAAAAAAAA9k/zAlcnOF__mA3v6hT1fSIgjPVM3gVZLeygCLcB/s640/Designelements-Flowchart.png" width="640" /></a></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-49180299770219611372016-06-29T05:48:00.002-07:002016-06-29T05:51:27.657-07:00R Tools for Visual Studio<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; font-family: "segoe ui light" , "segoe ui" , "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 18px; line-height: 23.4px;"><a href="https://www.visualstudio.com/en-us/features/rtvs-vs.aspx" target="_blank">Turn Visual Studio into a powerful R development environment.</a></span><br />
<br />
and <a href="http://microsoft.github.io/RTVS-docs/" target="_blank">RTVS</a></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-25947604575057366552016-06-14T21:07:00.001-07:002016-06-14T21:07:06.144-07:00Disable The Tabs in Infopath Forms<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Go to Web Browser Option from the "Form Options of "Info Tab" and uncheck the "Show Infopath Command in ribbon or Toolbar</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-SM7ZaEzDpuM/V2DTw5zvJSI/AAAAAAAAA1w/h4hT8J9x2ZIgX79wW3Hh52HVGPqQVgS_ACLcB/s1600/222.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="191" src="https://1.bp.blogspot.com/-SM7ZaEzDpuM/V2DTw5zvJSI/AAAAAAAAA1w/h4hT8J9x2ZIgX79wW3Hh52HVGPqQVgS_ACLcB/s320/222.JPG" width="320" /></a></div>
<br /></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-73802780876537916302016-06-06T01:30:00.003-07:002016-06-06T02:10:43.927-07:00sharepoint 2013 feed format not supported in IE<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<span style="color: #242729; font-family: arial, helvetica neue, helvetica, sans-serif;"><span style="font-size: 15px; line-height: 19.5px;"><b><br /></b></span></span></div>
<div>
<span style="color: #242729; font-family: arial, helvetica neue, helvetica, sans-serif;"><span style="font-size: 15px; line-height: 19.5px;"><b><br /></b></span></span></div>
<ol style="background-color: white; border: 0px; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin: 0px 0px 1em 30px; padding: 0px;">
<li style="border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;"><strong style="border: 0px; margin: 0px; padding: 0px;">Tools</strong> > <strong style="border: 0px; margin: 0px; padding: 0px;">Internet Options.</strong></li>
<li style="border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;">Select the <strong style="border: 0px; margin: 0px; padding: 0px;">Content</strong> Tab</li>
<li style="border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;">Under <strong style="border: 0px; margin: 0px; padding: 0px;">Feeds and Web Slices</strong>, select <strong style="border: 0px; margin: 0px; padding: 0px;">Settings</strong></li>
<li style="border: 0px; margin: 0px; padding: 0px; word-wrap: break-word;">Under <strong style="border: 0px; margin: 0px; padding: 0px;">Advance</strong> section untick <strong style="border: 0px; margin: 0px; padding: 0px;">Turn on Feed reading view</strong></li>
</ol>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-76163928861759077432016-05-29T03:14:00.001-07:002016-05-29T03:57:26.713-07:00iframe removing scroll bars<div dir="ltr" style="text-align: left;" trbidi="on">
<iframe frameborder="0" style="height: 1185px; overflow:scroll; width: 100%" src="site url" marginheight="1" marginwidth="1" name="cboxmain" id="cboxmain" seamless="seamless" scrolling="no" frameborder="0" allowtransparency="true"></iframe><br />
<br />
or<br />
<br />
<style><br />
.foo {<br />
width: 1800px;<br />
height: 900px;<br />
overflow-y: hidden;<br />
}<br />
</style><br />
<iframe src="https://siddiq-sharepoint.blogspot.com/"<br />
class="foo"<br />
scrolling="no"<br />
seamless="seamless"><br />
</iframe></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-70827247375337061392016-05-19T04:44:00.002-07:002016-05-19T04:44:23.564-07:00Error: WebForms UnobtrusiveValidationMode Requires a ScriptResourceMapping For jQuery in .Net<div dir="ltr" style="text-align: left;" trbidi="on">
Open the web config file and you see the below information<br />
<div style="background-color: white; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 15px; margin-bottom: 0.0001pt; outline: none;">
<span style="color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;"><?</span><span style="color: maroon; font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;">xml</span><span style="font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;"> <span style="color: red; outline: none;">version</span><span style="color: blue; outline: none;">="1.0"?></span></span></div>
<span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><</span><span style="background-color: white; color: maroon; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;">configuration</span><span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;">></span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">system.web</span><span style="color: blue; outline: none;">></span></span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">compilation</span> <span style="color: red; outline: none;">debug</span><span style="color: blue; outline: none;">="true"</span> <span style="color: red; outline: none;">targetFramework</span><span style="color: blue; outline: none;">="4.5"</span> <span style="color: blue; outline: none;">/></span></span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">httpRuntime</span> <span style="color: red; outline: none;">targetFramework</span><span style="color: blue; outline: none;">="4.5"</span> <span style="color: blue; outline: none;">/></span></span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"></</span><span style="color: maroon; outline: none;">system.web</span><span style="color: blue; outline: none;">></span></span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><br style="outline: none;" /></span><span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"></</span><span style="background-color: white; color: maroon; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;">configuration</span><span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;">></span><br />
<span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;">Now you need to add the tags after </span><span style="color: blue; font-family: 'Segoe UI', sans-serif; font-size: 13.3333px; line-height: 21px; outline: none;"></</span><span style="color: maroon; font-family: 'Segoe UI', sans-serif; font-size: 13.3333px; line-height: 21px; outline: none;">system.web</span><span style="color: blue; font-family: 'Segoe UI', sans-serif; font-size: 13.3333px; line-height: 21px; outline: none;">></span><br />
<span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><span style="color: #333333; font-size: 10pt; outline: none;"> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">appSettings</span><span style="color: blue; outline: none;">></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">add</span> <span style="color: red; outline: none;">key</span><span style="color: blue; outline: none;">="ValidationSettings:UnobtrusiveValidationMode"</span> <span style="color: red; outline: none;">value</span><span style="color: blue; outline: none;">="None"</span> <span style="color: blue; outline: none;">/></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"></</span><span style="color: maroon; outline: none;">appSettings</span><span style="color: blue; outline: none;">> </span></span></span><br />
<span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><span style="color: #333333; font-size: 10pt; outline: none;"><span style="color: blue; outline: none;">And after adding the tags ,Now web.config shows below info</span></span></span><br />
<div style="background-color: white; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 15px; margin-bottom: 0.0001pt; outline: none;">
<span style="color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;"><?</span><span style="color: maroon; font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;">xml</span><span style="font-family: 'Segoe UI', sans-serif; font-size: 10pt; outline: none;"> <span style="color: red; outline: none;">version</span><span style="color: blue; outline: none;">="1.0"?></span></span></div>
<span style="background-color: white; color: blue; font-family: 'Segoe UI', sans-serif; font-size: 10pt; line-height: 21px; outline: none;"><span style="color: #333333; font-size: 10pt; outline: none;"><span style="color: blue; outline: none;"><span style="font-size: 10pt; outline: none;"><</span><span style="color: maroon; font-size: 10pt; outline: none;">configuration</span><span style="font-size: 10pt; outline: none;">></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">system.web</span><span style="color: blue; outline: none;">></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">compilation</span> <span style="color: red; outline: none;">debug</span><span style="color: blue; outline: none;">="true"</span> <span style="color: red; outline: none;">targetFramework</span><span style="color: blue; outline: none;">="4.5"</span> <span style="color: blue; outline: none;">/></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">httpRuntime</span> <span style="color: red; outline: none;">targetFramework</span><span style="color: blue; outline: none;">="4.5"</span> <span style="color: blue; outline: none;">/></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"></</span><span style="color: maroon; outline: none;">system.web</span><span style="color: blue; outline: none;">></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">appSettings</span><span style="color: blue; outline: none;">></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"><</span><span style="color: maroon; outline: none;">add</span> <span style="color: red; outline: none;">key</span><span style="color: blue; outline: none;">="ValidationSettings:UnobtrusiveValidationMode"</span> <span style="color: red; outline: none;">value</span><span style="color: blue; outline: none;">="None"</span> <span style="color: blue; outline: none;">/></span></span><span style="color: #333333; font-size: 10pt; outline: none;"><br style="outline: none;" /> <span style="color: blue; outline: none;"></</span><span style="color: maroon; outline: none;">appSettings</span><span style="color: blue; outline: none;">></span></span><span style="font-size: 10pt; outline: none;"><br style="outline: none;" /></</span><span style="color: maroon; font-size: 10pt; outline: none;">configuration</span><span style="font-size: 10pt; outline: none;">></span></span></span></span></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-8803526210342947422016-05-11T01:55:00.002-07:002016-05-11T01:55:47.453-07:00Hide Recent Tab in SP 2013 QucikLaunch<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script><br />
<br />
<script type="text/javascript"><br />
jQuery(document).ready(function() {<br />
jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide();<br />
});<br />
</script><br />
<br />
<br />
</div></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-90002047238477076932016-04-23T23:21:00.001-07:002016-04-24T01:16:35.425-07:00Comparing values<div dir="ltr" style="text-align: left;" trbidi="on">
There are lot of dom methods which are not being supporting by IE 11.I was having task to find the values greater then 21 from html text-box and the dom methods are not going fine for me in IE browser,So by using for loop found the solution<br />
<br />
<!DOCTYPE html><br />
<html><br />
<body><br />
<p id="demo"></p><br />
<input type="text" id="myDate" value="15,24,26"><br />
<script><br />
alert("In Script");<br />
var text = ""; var text1= "";<br />
var i; var comma=",";<br />
alert("Came out of comma"); var x = document.getElementById("myDate").value;<br />
alert("Length of the Date is .."+x.length);<br />
for (i = 0; i < x .length; i++)<br />
{<br />
text += x[i];<br />
text1=x[i+1];<br />
alert("Now Text Value is.."+text+"And text 1 is.."+text1+"And i is.."+i);<br />
if(comma == text1)<br />
{<br />
alert("\nNow in Comma State and Text Value is.."+text+"\nAnd text 1 is.."+text1+"\nAnd i is.."+i); <br />
if(text>= 21)<br />
{<br />
document.getElementById("demo").innerHTML = text +"....GREATER THE 21"<br />
text=" ";i++;<br />
}<br />
else<br />
{<br />
text=" ";i++;<br />
}<br />
}<br />
else<br />
{<br />
alert("text1 is not comma so checking for text which is.."+text);<br />
if(text>= 21)<br />
{<br />
document.getElementById("demo").innerHTML = text +"\n....GREATER THE 21"<br />
<br />
}<br />
}<br />
}<br />
</script><br />
<p id="demo"></p><br />
</body><br />
</html></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-38349936620482419862016-04-20T23:33:00.003-07:002016-04-20T23:33:15.291-07:00Html Controls Compatibility<div dir="ltr" style="text-align: left;" trbidi="on">
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/The_native_form_widgets</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-60812488899378865132016-03-15T05:14:00.002-07:002016-03-20T04:41:06.063-07:00Code Hide Quick Launch and site page title<div dir="ltr" style="text-align: left;" trbidi="on">
<pre class="scroll" style="background-color: white; border: 1px solid rgb(221, 221, 221); color: #424242; font-size: 1.2em; margin-bottom: 12px; overflow: auto; padding: 2px 6px; width: 561px;"><code class="html"><style>
.ms-core-navigation { DISPLAY: none }
#contentBox { margin-left: 0px }</code></pre>
<pre class="scroll" style="background-color: white; border: 1px solid rgb(221, 221, 221); color: #424242; font-size: 1.2em; margin-bottom: 12px; overflow: auto; padding: 2px 6px; width: 561px;"><code class="html">.ms-core-pageTitle{Display:none !Important;}
</style></code></pre>
</div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-65879880520658240382016-03-14T05:31:00.005-07:002016-03-14T05:32:10.012-07:00SharePoint 2010 Visual Sandbox<div dir="ltr" style="text-align: left;" trbidi="on">
Came across the requirement to develop rich form via sandbox.Found the <a href="https://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9/" target="_blank">SharePoint 2010 Visual Sandbox</a></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.comtag:blogger.com,1999:blog-21954136860153364.post-6491936681895017012016-02-24T04:30:00.002-08:002016-02-24T04:30:09.880-08:00Hidding the Time Line in SharePoint Task List<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css"><br />
.ms-tl-mainArea,.ms-tl-selectedFocused > a<br />
{<br />
visibility: hidden;<br />
}<br />
</style></div>
محمّد سددقالی . سوفٹوارے ڈولوپرhttp://www.blogger.com/profile/14702877685883076686noreply@blogger.com