New answers tagged

0

Obviously, it is not possible to enable any count option on SPGridView. Instead I had to use JS to count every lines in the group and then modify the DOM dynamicaly by adding the number of line next to the group label.


1

You will need to create custom copy of the blog.xsl where you add this to the position where you want the ratings to be shown: <!--Start Blog Post Average Rating --> <div style="margin-left:5px;"> <xsl:for-each select="$Fields"> <xsl:if test="@Name ='AverageRating'"> <xsl:choose> <xsl:when test="@Name='AverageRating'"> ...


1

Have you tried restoring the site from a different web application/farm recently? One of the things I would try is to change the site collection administrator from the central administration or may be using the account admin, which is already working and try to give the access to admin2 again. Let me know what error you get.


0

Here some general steps might helps you to get this job done manually, take a backup of the content database and restore it, then create new web application and site collection in SharePoint 2013. After that remove the content database from this web application. Then select the newly created web application and click on the database which is on the left ...


2

Yes, a list item has both an ID (integer: 1, 2, 3...) and a UniqueId (a GUID). You can get the UniqueId of a given item you know the ID of with PowerShell: $web = Get-SPWeb http://<URL> $list = $web.Lists["<ListName>"] $item = $list.GetItemById(<Integer_ID>) $item.UniqueId You can get the same all client-side by requesting the REST ...


2

I think that this could be your solution: Add a User or Group to the SPWebApplication User Policy for all Web Applications in the farm The interesting code should be Get-SPWebApplication http://sharepoint2010 | foreach { $webApp = $_ $policy = $webApp.Policies.Add($userOrGroup, $displayName) $policyRole = ...


1

Why do you need a third party tool?! You can migrate the site directly from 2007 to 2010 and then from 2010 to 2013. Read this article.


1

Do I have to call executeQueryAsync twice? Once to get the list items and the 2nd to act on all of them? Yes. Your first query gets the list of items (declare them in the parent scope, obviously, so that they are accessible on the success callback), and in the function of success callback, you can iterate through them to fire individual queries to modify ...


1

Their are two ways to completely remove it. Use Central admin. go to central admin >System Settings -> Manage farm solutions. On this Page, click on the solution which you want to remove. 1st retract it,then remove it. Use PowerShell [Uninstall-SPSolution][1] –Identity SPSoltion.wsp [Remove-SPSolution][1] –Identity SPSolution.wsp At the end, ...


0

I've used xplica with success. I don't recall the price, but I think it may have been in that range.


1

To completely remove a solution: Deactivate all features brought by this solution, in all site collections/sites it may be activated in. From CA, choose Retract from the WSP details page. If it is a per-Web app WSP (as opposed to a globally-deployed WSP), choose "All content Web applications". Wait (refresh the page) till it's marked "not deployed" ...


1

When you install a WSP package, there's two steps: Add-SPSolution (can be done only from PowerShell): this simply uploads the WSP file into the config database. Nothing really happens from the point-of-view of SP servers. Install-SPSolution (can be done also from the UI): this actually tells all SP servers in the farm to get the WSP from the config and ...


2

Retract is "uninstall this solution" Remove is "delete the installer files" Note that even removing a solution completely some artifacts may remain in your environment, you might need to manually remove those, things like Modules (files copied to the Content Database, like the Master Page Folder) are not usually removed unless coded that way.


2

I don't think there's a way to tell the edit form to automatically open the first item per se, but if you had the time you could create a page with a PageViewer web part that links to the edit form and then write some JavaScript code to look up the list through the CSOM, determine what the lowest ID is, and then replace the ID portion of the query string ...


0

I got a solution for my question. When Edit Permission button hit following URL will be passed to SharePoint http://xyz:1010/sites/raja/_layouts/editprms.aspx?obj=editprms.aspx?obj=http%3a%2f%2fxyz%3a1010%2fsites%2fraja%2cWEB&amp;sel=1&amp;IsDlg=1 In SharePoint there is one hidden list is called SiteUserInfoList which contain the details about ...


2

You should be able to achieve this using a calculated field. You can build your code into the calculated field. One thing to do though is make sure you set the calculated field to numeric and not text. It needs the numeric setting to render properly. You can find an example similar to your situation here: ...


1

This can be done using a Designer WF and REST. The hard part is going to be if you need to allow multiple users to have access. Basically, you will need to add a field to your forms that you can enter the users. A people picker or text field will do. The text field can make it more likely that mistakes will occur, but I think will be easier to parse out ...


0

I was able to use the GetUserProfileByName of UserProfileService.asmx to get information for users even if they are not in the site collection. https://msdn.microsoft.com/en-us/library/aa981482(v=office.12).aspx


1

The Windows PowerShell Convert-SPWebApplication cmdlet in SharePoint 2013 converts classic-mode web applications to claims-based web applications. This article will help you to convert SharePoint 2010 Products or SharePoint 2013 classic-mode web applications to claims-based authentication or create new claims-based web applications in SharePoint 2013. ...


2

You can try following script to rename provider. I have used it while migrating one domain to separate domain. Add-PSSnapin Microsoft.SharePoint.Powershell $web = Get-SPWeb -identity "http://Web Application URL" $user = $null $newuserID = $null $OlduserID = $null $OlduserID = 'i:0#.f|provider_old\{LoginName}' $newuserID = ...


0

Try this, create 3 separate check boxes. One for each color. Then get those values on your workflow condition. I'm guessing that you are using multiple selection?


0

Try this: $site = Get-SPSite your_site_url $RootWeb = $site.RootWeb $users = Get-SPUser -web $RootWeb -Limit ALL | Where-Object {$_.UserLogin -like "domainC\*"} $users | sort-object $_.UserLogin If this returns any users, delete them with: Remove-SPUser -Identity user_listed -Web $RootWeb -Confirm:$False


-1

Please keep in mind that <where> or &lt;Where&gt; tag should go on the same line with <property name="QueryOverride" type="string"> like this <property name="QueryOverride" type="string">&lt;Where&gt; &lt;Or&gt; &lt;Eq&gt; &lt;FieldRef Name="AssignedTo"/&gt; ...


3

You can develop custom action in Visual Studio. I have article regarding that. Workflow (SharePoint 2013, 2010, SharePoint Online) custom action using Sandboxed Solution The example I gave in my article will not meet your requirement though you will get basic steps of creating a Custom Action. Areas to Change declare two parameter in Element.xml. Fist ...


0

You can use this below link as a reference and which gives you all attributes belongs to a user: Get all attributes from user


2

Your solution with SPServices is just ok. You should use jQuery to parse data and you could use selectors: var picker = $().SPServices.SPFindPeoplePicker({ peoplePickerDisplayName: whatDisplayName //your picker control field's display name }); var data = picker.row.find("div[id='divEntityData'] div").attr("data"); var xml = $(data);//accepting data by ...


1

I see that all default webpart page layouts reside in below layout path C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS\ So in this path I will add my one page layout.Then add below code to create page based on the layout. string newFilename = textbox1.text; string templateFilename = ...


0

When you create a sub site, you have an option to use the top link bar from parent site. If you select that option, you can modify the top navigation only from the parent site's Site Settings -> Navigation (which I believe is your case). This might be the reason you are not seeing the top navigation links in Research Center site. So try going to the top ...


0

You can go through all that trouble or you could just add the Site Column called "Contact Photo". This site column displays the picture and is synchronized with Outlook if the list is synchronized with outlook. To make this a better solution, you would customize the column with JSLink to allow uploading the image and saving it as an attachment to the list ...


2

You can't add users to a AD domain group from SharePoint, you would have to have permission in your AD to edit the group. You can add AD groups to SharePoint groups, but you can't manage the AD group within SharePoint. Get a domain admin to add them or see if your AD group can be converted to an email enabled security group, then you can manage it from ...


0

I got solution to my question. After Updating the itemProperties i had get resolved of my issue. Updated Code. var itemProperties = { 'Title': userAccName, 'BusinessJustificationForAccessValue': busJust, 'ExpiryDate': expDate, 'PermissionTypeValue': 'Add' }; When i browse my list with REST URL(http://xyz:5000/sites/n/_vti_bin/listdata.svc/L2) in browser ...


0

For changing visual style, combining CSS and the :nth-child selector is likely to be the way to go. This isn't in JSGrid, but it also isn't javascript and won't break any scripts.


0

I didn't found the solution but for dark reasons, it's working now. Howevever, I can tell that one of the procedures (or the combination of them), described in the body of my question, solved my issue. I think it's the part with the alternate access mapppings. In the "alternate access mappings collection" drowpdown list in the page with the same name, I ...


1

I normally debug by attaching w3wp process. If you try running solution from visual studio it tries to deploy solution on virtual IIS and load it from there. In case of SharePoint that will not work.


0

Finally I cracked it! The solution to the above problem was to leave the Fixed Keyword Query textbox blank and only write values into Append Text to Query textbox. Because if you write a value in Fixed Keyword Query then it will only show fixed query results ignoring the Refinement Panel and Search Box. The key is to write values into Append Text to Query ...


2

If using the database attach method to migrate content from a 2010 farm to a 2013 farm, then you'll want to either convert the 2010 web application to claims mode before the move, then migrate the databases to a claims mode 2013 web application (this is Microsoft's recommendation), or create a classic mode web application using PowerShell in 2013, attach the ...


0

Will need to add sp.runtime.js to this list as well..just below the init.js


-3

start task manager, and end-task called MSOSYNC.EXE


0

If you want to get Approval, Collect Feedback, and Collect Signatures Workflows in the list. Then you need to activate a Workflows Site Collection Feature. Follow below steps Navigate to your Site Collection Go to Site Settings Find the Site Collection Administration section, Under it click on Site collection features Scroll down at bottom, find and ...


0

Check in 'Manage Site Features' as well - double check all workflow related such as Workflow Task Content Type - to this point... I am not a big fan of the workflows in sharepoint that are included out of the box - they use tasks and become complicated / and not end user friendly. Prefer, instead, to use a sharepoint designer workflow that leverages ...


1

A recursive function could be easier pseudo code: var update=[1,2,3,4,5]; function lockitems(){ if(update.length>0){ var lockone=update.pop(); executeAsync(success); } } function success(){ lockitems(); }


0

Have you checked the permissions on the list itself, by the sounds of things, the list may have different permissions to the page


0

First one comment: function lockListItems(tID,varList) { //load items from varList where ... executeAsync (success lockListItems, fail lockListItems) console.log('List Item Loaded'); // <-- your list isn't loaded here. The function is finished, thats all. } As far is I know this is how you would solve this: function firstList() { ...


0

I would recommend creating a custom result source (http://www.sharepoint24x7.com/2014/10/01/article-customizing-sharepoint-2013-results-using-result-sources/), and if needed a custom display template (http://www.eliostruyf.com/?s=display+templates). This is something that's greatly improved over 2010 and something you could use more often as well. Plus: ...


1

Just insert the picture you want to use, and while the picture is still selected, select insert from the ribbon again and choose insert Link. Leave the Text to display blank and paste the Url. Save the page. Now when anyone click on the image, the link should open.


0

Maybe somebody could use this answer - the problem disappeared when we rebooted front-end server... :)


0

Go to the InfoPath form you want to link to (I'm assuming this is attached to a SharePoint list or library) and open it by clicking on New item or New document on the list or library. With it open copy the URL from your web browser - that is the link you will use to add to the picture. I'm not sure if you need to know how to add a picture to your sight but ...


0

I didn't do any of that. I figured out that I had to the create the column in my list first and then opened up Customize Form (in the list). I was then able to drag the field to my form (fields that were now listed in the fields box). I must not be really understanding the issue above if it was that easy. :)


0

If you want to change the list column width, you can give the html code as a formula. =<div style=width:"20px"> Like this you can change the appearance of the list by using the html code in the formula Hope you got an idea from this.


0

The formula should be like this =IF([Meeting Frequency]="6 Monthly",[Last Meeting Date]+182,IF([Meeting Frequency]="Monthly",[Last Meeting Date]+30)) You will need to use nested if in calculated column, your first if statement's closing bracket need to be at end.



Top 50 recent answers are included