Tag Info

New answers tagged

0

You need to use the LookupSPListItem and GetDynamicValueProperties actions to retrieve list item values. Add the LookupSPListItem action to your sequence. In the LookupSPListItem action, specify currentitem and currentlist for your item/list values. Click the Get Properties link to generate a GetDynamicValueProperties action. Specify the source as list ...


0

You have to check DCOM-setting in Component Service console of windows server. Find there Computers->My Computer->DCOM Config->Microsoft Office Word Document->Identity and set it to The launching user


1

you can use the below function to store multiple users in People Picker public SPFieldUserValueCollection GetSelectedUsers(PeopleEditor editor) { string selectedUsers = editor.CommaSeparatedAccounts; char[] splitter = { ',' }; string[] splitPPData = selectedUsers.Split(splitter); SPFieldUserValueCollection values = new ...


1

Try following: SPFieldUserValueCollection values = (SPFieldUserValueCollection)item["MultipleUsersField"]; values.Add(new SPFieldUserValue(web, user.ID, user.Name)); item["MultipleUsersField"] = values; http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/multiple-user-insertion-in-sharepoint-list/


0

their are stsadm commands to change the password or update the services accounts for web application / SSP/ Central admin. Once you change it, you can access it. SSP Update the password for the account that is used by every Shared Services Provider (SSP) on the server farm. To do this, type the following line at a command prompt on every server on the ...


0

Do you have more that one web front end server in your SharePoint environment?


0

I had a similar issue once. What helped me is placing the js-File in the SiteAssets and referring it from there. What also helped was using jQuery instead of $ in front of every jQuery command and using _spBodyOnLoadFunctionNames.push("MyFunctionName"); function MyFunctionName() { // Code } to make sure all the other js-Files were loaded before ...


1

Imagine you and I both open the edit form of a list item. You update a client's address, and I update his phone number. You hit the save button first, and I hit it a few seconds later. What should happen when I hit save? Should the old client address present on my edit form overwrite your change and set it back to the old value? Actually, SharePoint will ...


1

no I don't think there is anyway to do it with the out of the box interface - you can manage a SharePoint library through windows explorer but not a network drive through SharePoint's interface. You can try to use the page view web part and link it to shared drive. Displaying a file or a folder in the Page Viewer Web Part Another thing, You CAN index and ...


1

As far as I know you can not. Why don't you just manage the data over sharepoint and delete it in the old place? Then you don't have the replicated data. If you create a new SiteCollection you will get a new content database. Reference for content-db size restrictions: Content DB Size Limit SharePoint 2010


0

Try creating a new service account and configure the User Profile Service with that account. Keep the Configuration Synchronization Settings to "User & Groups" and "Use SharePoint Profile Synchronization" Run -> Profile Synchronization as "Full Synchronization" and check Also I think the App pool should run as a admin account, please verify with it also ...


0

Since you have joined the other server (Web Server) to SharePoint installed server (App Server), so Search Service will be configured on App Server. Now if you want to share the services across the Farms, below is the list of Service applications that can be shared: Business Data Connectivity Machine Translation Managed Metadata User Profile Search Secure ...


0

try adding an account you use for the User Profile Synchronization service to the local admin group. Restart the timer service and click start again.


0

which version of SharePoint are you referring? 1) In SharePoint 2010 and earlier it was possible to edit the users directly from a SharePoint web application site, as long as the default membership provider was set to the membership provider you were going to edit. 2) This is no longer possible in SharePoint 2013, as previous versions of SharePoint ran ...


0

Since SharePoint Online/Office 365 relies on Claims authentication use: SharePointOnlineCredentials class to provide credentials to access SharePoint Online resources. specify X-FORMS_BASED_AUTH_ACCEPTED HTTP header The following example demonstrates how to consume SharePoint Search REST using HttpWebRequest class: public static ...


1

This is because OLD site still exist in the Content Database and become orphan. Basically when you run the Restore-SPSite command if the site already exist then it will delete 1st then restore it. If you remember once you delete a site collection, it will go Central Admin Recycle Bin(access via powershell) and once it removed from their then you will able ...


0

The Search results have results which the particular user does not have access to . That is why you receive forbidden error . While using the REST API provides a much more succinct way to retrieve data, there are apparently areas where you’ll need to use the more robust CSOM.


0

Maybe you should use a Label and in the onLoad method of your webpart you can access this label and write the value of the saved property to its Text.Field. Or you could in the set-Method of the Property set the .Text of the Label to the value entered to the WebPart Property; Tell me if you need more help.


0

Something similar happened to me a while ago. Check the XSLT code in SP Designer and look for something like this: <SharePoint:SPDataSource runat="server" DataSourceMode="List" And change it to: <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" I hope it helps.


0

I've done this with the DownloadFile (sync or async) method of the WebClient class: using (WebClient wc = new WebClient()) { wc.Credentials = new NetworkCredential(userName, password, domain); wc.DownloadFile(urlOfFile, localFileName); } You can specify credentials or set WebClient.UseDefaultCredentials = true. If you want to ...


0

Are you looking for a hide show toggle effect ? I am afraid you will not have a no-code solution for toggle. You will have to atleast write some Jquery code. Here are some good sample which you can test and select as per your needs.


0

have you already tried to Restart the Sharepoint Timer Service ? www.msserveradmin.com/sharepoint-2013-user-profile-synchronization-service-will-not-start


2

Unfortunately, the REST services are only working for authenticated users. The REST API ("/_api" and "/_vti_bin/client.svc") doesn't work with anonymous access in 2013. SharePoint 2013 APIs for anonymous and/or mobile access SharePoint 2013 and anonymous access problem


0

You cannot access user profile in sandbox solution because SPUserProfileManager is not allowed to be used inside the sandbox solution. For a workaroundyYou can use following code to get user profile list: private SPList userInformationList = null; private SPUser user = null; private SPListItem userItem = null; using (SPSite site = new ...


0

You can look for single sign-on with windows identity foundation. For example: http://www.c-sharpcorner.com/UploadFile/scottlysle/windows-identity-foundation-and-single-sign-on-sso/ There is a good description in the "Programming Windows Identity Foundation (Developer Reference)" by Vittorio Bertocci


0

The feature is getting deprecated, http://support.microsoft.com/kb/2998445/en-us, maybe now is not the time to focus on it.


2

Following Powershell scripts might help you: PowerScript to show all web applications that have Enterprise features enabled: foreach ($webapp in Get-SPWebApplication) { foreach ($premiumfeature in Get-SPFeature "PremiumWebApplication" ` -WebApplication $webapp.Url -ErrorAction SilentlyContinue) { Write-Host $webapp.Url } } ...


1

I dont see an error here - if everything is working, I would ignore it for now.


2

The debug tips from Nk SP and Hardik me helped me find the problem. The hive process was already in use so at the second attempt the debugger showed that the process was already in use. I changed the code to this and it worked using (SPWeb web = site.OpenWeb()) { string hive = ...


0

To debug your application you have to attach VS to the process w3wp.exe You can also use the event log, to log some messages. Instead of catching the exception when the file exists, try to use: string fileUrl = string.Format("{0}/{1}/{2}", web.Url, "SitePages", newFileName); SPFile file = web.GetFile(fileUrl); if (!file.Exists) //add Debug WSP ...


1

This is working: <script src="https://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript"></script><script> $(document).ready(function() { $("a[href$='.pdf']").removeAttr('onclick').attr("target","_blank"); }); </script>


0

When running SPconfiguration wizard try running the IE in run as administrator mode.


0

The answer to my problem is quite simple. Stand-alone installation is a POS. I installed SQL 2012 Standard and have had no issues whatsoever going through the installation and Product Configuration wizard.


0

This is the behavior you find it in IE11. IE10 it works fine.


0

For uploading a file into a nested folder you could consider the following approach: ensure the target folder exist using the method provided below upload a file using SPFileCollection.Add method How to ensure a nested Folder exist using SharePoint SSOM internal static class SPFolderExtensions { /// <summary> /// Ensure SPFolder /// ...


1

In a content editor web part source editing, you add the following script: <script language="javascript" type="text/javascript"> _spBodyOnLoadFunctionNames.push("SetTargetBlank('/InsertListNameHere/')"); function SetTargetBlank(ToFindInLink) { // Get the collection of <a> tags var aAllLinks = ...


0

You can get this using the Content Editor Webpart with Javascript coding... <script language="javascript" type="text/javascript"> _spBodyOnLoadFunctionNames.push("OpenPDFInNewWindow()"); function OpenPDFInNewWindow() { var aAllLinks = document.links; for(var i=0;i<aAllLinks.length;i++) { var oA = aAllLinks[i]; var sHREF = ...


0

1st thing "You can apply faceted navigation only to publishing sites that use managed navigation." if yes then check below. Navigate to Site settings => Term store management. In the left side column, navigate to Site collection => Product hierarchy. In the tab Intended use, select the checkbox Use this Term Set for Faceted Navigation. Then click Save. ...


0

Try like this: <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" OnClientClick="return showTermsAndConditions(this);" Style="height: 26px" Text="Submit" ValidationGroup="GrpSubmit" /> var confirmed = false; function showTermsAndConditions(obj) { $("#dialogTermsAndConditions").dialog({ ...


0

Check the link and also check the site self creation permission on the web application. If you have MySites, make sure it is set up correctly.


0

Seems like I have found myself a solution: Instead of using VisioWebAccess page, create a new blank page with just the Visio Web Part, use container-fluid if your sharepoint site have bootstrap (which mine has), when calling the modal pass in the file url via querystring and at the modal page include this scrpt: function changeUrl(){ // Get the URL ...


1

After long last I found the answer. Refresh the Data Source The first thing that is necessary is to make sure your current editing session for that form has the most recent collection of fields. To this end, you will need to display the Data Source Details panel, which will display the docking panel with a list of fields. Then you have to make sure the ...


1

The effected libraries had the option Library Settings > Versioning Settings > Draft item security set to 'Only users who can edit items'. Change the above option to 'Any user who can read items' then reset the index and do a full crawl, the documents where indexed and are now being served up by search.


1

404 Mean file not found. Couple of things to check and correct. Make sure the Address is correct...try to browse the site collection without /_vti_bin/lists.asmx?wsdl and see if you get the site. For my guess you site collection address is not correct...isn't http://www.something.com/sites/url? also remove the wsdl at the end then try -


0

There is no internal package or feature in Sharepoint 2013, that can allow you to convert a portion of HTML to an image. You can write you custom code to Convert HTML to image. For examples you can refer: http://stackoverflow.com/questions/17832304/convert-html-string-to-image ...


0

I found it in this video : http://www.youtube.com/watch?v=X2HufMN9DgY what I need it's to open with exploror and do the drag and drop .thank you all for your help


1

You can drag and drop documents in IE. Make sure you drop them in the box that says "Drop Here". If you want to upload folders, you should open your document center in explorer view and then drag and drop away. One caveat with drag'n'drop - you will have to check everything in.


0

Below code is used to create a folder under document lib with "CurrentMonth Year" if folder does not exists it creates new folder else add items to the folder . string currentDate = System.DateTime.Now.ToString(Constants.monthDateYearFormat); string[] splitter = currentDate.Split(' '); string folderName = splitter[0].ToString() + " " + ...


1

You can upload the documents in one go using multiple upload. It will work in IE. You can check this link for further explanation.


0

We experienced a similar issue with a library migrated from our 2010 environment, I was able to edit the document with using office 2013, save the document back. Afterwards Office web word was able to edit the document....



Top 50 recent answers are included