Tag Info

New answers tagged

1

It sounds like Sitelock might be set. You can un-set it with the following command: stsadm -o setsitelock -url http://sitecollectionurl -lock none


0

Create additional column, choice column Mail Sent. Default value should be No. At the beginning of workflow add If clause. If Mail Sent equals No than do your job, send email or whatever you need to do. At the end of the workflow add additional Update item function, where you should update column Mail Sent from No to Yes. So next time workflow will not send ...


0

You could query the user information list for this. http://your-site-name/_vti_bin/ListData.svc/UserInformationList(userid) and get the properties you want using $select. Or, you can just expand the created by and modified by fields by using: http://your-site-name/_vti_bin/ListData.svc/ListName?$expand=CreatedBy,ModifiedBy


0

Granting the Replicate Directory Changes AD permission to the SP_Farm account (timer service account) fixed this issue for me. Follow the instructions in this KB article: https://technet.microsoft.com/en-us/library/Hh296982.aspx


1

I solved it this way: Create a site collection feature which is responsible for deploying font/spcolor files, master page, Background Image etc. Create a web scoped Feature which sets the theme, masterpage, font and the Background image in FeatureActivated-Method. Establish a Feature dependency, so the web Feature can only be activated when the site ...


1

User fields are really a Lookup to hidden UserInfoList on every site collection. Information on this list is synchronized with User Profile Service using timer job. This job is probably executed every hour. That's why your changes apply after about 40 minutes.


0

Interestingly, this issue has been resolved. I removed an unused field and it started to perform as is used to perform. However, I am not sure why deletion of a random file resolved the performance problem. I would love to tell the reason, but I really do not know. I am also not sure whether my answer is a real answer..


0

This problem occurs when the following conditions are true: The server is configured for Basic authentication. The connection between your computer and the web server does not use Secure Sockets Layer (SSL). By default, file operations that use Basic authentication over a non-SSL HTTP connection are disabled in Office 2010 and Office 2013 applications. ...


0

There are a couple reasons it may not be displaying: You're not running the Enterprise edition of SharePoint or You need to have Enterprise license. This feature requires Forms Services, which are only available in EE. You're looking at a list type that does not support this feature. Basically, any list type that uses a non-standard display for an item, ...


1

I recommend you start with this book, "Inside Microsoft SharePoint 2010". The first 4 chapters can be read online at MSDN this link: Book landing page: Inside Microsoft SharePoint 2010


1

Try the below code. Just added <View></View> to your query. function createListItem(decision, id, likes) { var siteUrl = '/'; var countLikes = likes; var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('PostLikes'); var camlQuery = new SP.CamlQuery(); ...


0

Try using the currentContext by var ctx = SP.ClientContext.get_current()


0

Here is an explanation to achieve this: http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/ or here http://www.balestra.be/2010/01/write-html-code-in-sharepoint-via-calculated-columns.html idea is to create calculated column with multiple column of rich text. Also you should add javascript into content web editor of page ...


2

I would suggest to use a simple IDE to develop your code. This IDE will help you by finding simple errors. A free example for a IDE is Visual Studio Code but there are loads of IDE's for you to choose. Here's the output if I paste your code: After knowing the simple errors fixing is not the problem - at least the ones caused by bad syntax.


0

The datasheet view was renamed to quick edit in SP2013, removing the ActiveX dependencies and migrating the implementation to html / js. There is almost no documentation about what you are trying to achieve, but I would give a try to spjeff implementation, who overrides the template implementation: ...


0

http://www.viewmaster365.com/#/Create/SearchFilter This kinda weird looking code in a Calculated Column set to datatype is Number will attach a KeyUp event to a DOM element above the search box, that way catching each keyup event. If you attach it to each TR (TableRow leave out the 3 parentNodes), it should work in a Datasheet View as well. =" <img ...


1

Check solution's deployment type. If it's set to ApplicationServer, the features won't be installed automatically. You need to have it set to WebFrontEnd if you want to avoid doing Install-SPFeature after deploying your solution.


0

I finnaly found the solution. Problem was that no all fields was filled. What brings me to soluion was customization of DispForm for ListItem in my Discussion List. I found that there is some hidden field and one of them is EmailHeaders. I fill this field with all headers form email in format "{Name}:{Value}\n". And based on this field the relation to Email ...


0

You cant connect to an other SharePoint-Site than the local one using JSOM. The Reason it internally connects to the SharePoint-Services of your current Site and then tries to find the Site on that Server, which is not the case. You could try accessing the Remote-Sites Rest-Webservices using plain Javascript, but you have to enable ...


0

If you only need to add a limited set of bootstrap-styled controls (like a navbar, or a button group), you can create a custom bootstrap file here and then remove all global styles (those applied to body, all paragraphs, all links etc.) and only keep the styling for the controls you want to add (usually styles applied to classes). This way you'll get a small ...


1

You cannot use executeQueryAsync in a loop, the loop execution does not wait for the execute Query call completion(it is async). So try to load all items once and call 'executeQueryAsync' outside of the loop and also we should not create the clientContext and list objects inside the loop(if so, only the last object inside the loop will have correct context ...


0

I got a similar issue in my tenant after an update from MSFT. The Query used to work for all users,But worked only for Site Collection Admins after the update. The issue in my case was having an empty Where Condition in my Caml Query <View><Where></Where><OrderBy>........</OrderBy></View> I removed the Empty Where ...


1

Microsoft uses these standard terminologies for software updates which means these are available for OS, SharePoint and other products of Microsoft. Description of the standard terminology that is used to describe Microsoft software updates is a nice article to go through and understand them briefly Also I am able to extract the brief description as ...


0

Please refer to the following link, no one explains it better than Todd Klint! Hope it helps you out.


2

No, the best you could do I believe is to create your own workflow action that would introduce your own business logic that you could then call in your workflow. http://social.technet.microsoft.com/wiki/contents/articles/13604.sharepoint-2010-create-a-workflow-activity-using-visual-studio-2010.aspx


0

I have the same issue in Sharepoint 2013 I guess. This is the situation. You create a page that shows the web part of a list. If you edit the web part, you get the option to select another list view from a drop-down menu titled 'Selected View'. Normally this works fine, but if you have too many list views on the same list, the drop-down menu only shows a ...


0

The following JSOM code worked for me to get all the users of a 2013 site, not sure about 2010. Openn the site in chrome. Copy the whole code and run in console. Doesn't work in IE. var JSONToCSVConvertor = function (JSONData, ReportTitle, ShowLabel) { var arrData = typeof JSONData != 'object' ? JSON.parse(JSONData) : JSONData; var CSV = ...


0

Each WebPart should have its own ID, and you can iterate over all WebParts in the manager (I don't do backend, but conceptually the same as front-end) As for best pratice; don't mess with styles. Transfer all your display logic to CSS classes, and only set those Classes in your code. That way your presentation is a lot more loosly coupled with your backend ...


2

You can set item level permissions in SharePoint 2010. This LINK describes how to do that in SP 2007, but the process is basically the same in 2010: Select the item; Click on Documents tab; Document Permissions button; Break role inheritance for that item; Add/Remove users as needed.


1

It depends a bit on what your actual requirements are. 2010 workflows do have the capability of extracting substrings, but you have to know the indexes ahead of time. There is no functionality similar to indexOf where you can find the index of a certain character. So in your example, if you know that you will always be taking only the first four ...


0

Looks like you have a Crawl Rule that is blocking the site or a robots file.


0

For anyone interested, this is what worked for me: The queryManager you use should come from the ShareQueryManager, this ensures that the paging and refinement panel still works (and you can still edit properties directly on the derived results web part in the browser). The only command that needs to be elevated is the ...


0

I had same problem, solution is just create a new SPFieldLookupValue and read LookupValue property. It's quite simple, but can save some time for others. public String LinkTitleCode { get { var lookupText = Get<String>("LinkTitleCode"); return new SPFieldLookupValue(lookupText).LookupValue; } }


0

I would first check the content type definitions through the list settings to ensure that they have the correctly assigned columns for each content type. Are content type B and C children of content type A?


1

Just wanted to add to this... BEWARE... So the idea is sound.. Index the Modified date then for the view, only show N number of days that will return < 5000 items. Modified (Indexed) >= [Today]-90 The problem is that the moment you add a Formula into your view's filter box, that view will no longer show up for Alerts Subscriptions. Modified ...


0

Creation of a content type should fulfill what you're looking for. Creation of a content type can then be scoped all the way to list level. Alternatively, you could create a feature to be deployed, deploying at site or site collection level.


0

Custom Field Types are deployed to the Fram and are available for the sites to make use of it by creating site columns of that field type. So, when you create the site column for a particular site, it becomes visible only to that site (and subsites, if its root web). Once you create your site column of that custom field type its very easy to change its ...


1

I did it like this: a. At the prompt, type the following and press Enter: New-SPUsageApplication -Name "Usage and Health Data Collection" b. At the prompt, type the following and press Enter: $proxy = Get-SPServiceApplicationProxy | where {$_. TypeName -eq "Usage and Health Data Collection Proxy"} c. At the prompt, type the following and press Enter: ...


1

Check the below given informative resources that might helps you to get in more details and lets you to get this job done. Check this article which explains how plan to upgrade site collections to SharePoint 2013 Also have a look on this step by step guide on upgrading a SharePoint 2010 site to a SharePoint 2013. Moreover, If you wish you may also try ...


0

Dashboard Designer is not joined to the same domain try it from joined machine check remember password when login to win\IE of BIC or portal http://stackoverflow.com/a/17766222/184572


0

Not sure if this is solved or still active (it says active).. I'm a little curious of what will happen if you use Security Groups instead of Distribution Lists? Is there also a difference between Universal or Global Security Groups? Knowing what MS recommends when using Security Groups or Distribution Lists in Exchange is that you shouldn't use Distribution ...


1

Get-SPDatabase | where {$_.Type -notcontains "Content Database" -and $_.Type -notcontains "Configuration Database"} | sort Type | format-table –autosize


0

The "Add permission" action creates a new SharePoint group, grants that group the permissions you specified to the list item on which the workflow is running, and adds the users and/or groups you specified in the workflow to that group's members.


0

Alright I figured it out: First create an external content type, and add read list, create item, update item and delete item operations to that content type based on your table or stored procedure in SQL server (I do not suggest using view since SQL cannot update data to multiple tables at once). Then in SPD’s external content type menu, right click your ...


0

You will need to create a site collection in SharePoint 2013, detach the newly created content database and then attach the 2010 content database to the site collection. SharePoint 2013 will upgrade it for you. The process is explained here http://www.orcsweb.com/blog/cory-granata/how-to-upgrade-sharepoint-2010-to-sharepoint-2013-using-database-attach/


0

Yes, it's possible to encrypt your SharePoint data, and generally quite easy to do. By default, SharePoint stores files and documents as "blobs" in a SQL Server database. SQL Server (from at least SQL Server 2008 onwards, maybe earlier) supports "Encryption at rest" using "Transparent data encryption". There's a good article on how to configure this on ...


-1

As Steven suggested, you need to turn off "Trim duplicates" option. First export the current Search Results WebPart. Open the WebPart in Notepad. Search for the TrimDuplicates attribute and set it to "false" Save and import the WebPart. Replace the current results WebPart on your results page with the imported one.


1

This is shorter and easier to read: =UPPER(REPLACE(TEXT(Created,"ddhhmmTZmmmyy"),7,2,LEFT(TimeZone)) SharePoint REPLACE (alas) needs a start and length parameter TZ starts at character 7 and is 2 characters long LEFT() takes 1 character by default


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


1

I don't think you can prevent the redirect as you have little control over the layouts page's behavior. Here's a workaround you can try: Use the Source parameter and force the NewDocSet.aspx page to redirect to an intermediate page, a page that you've written, and execute your code there. function Opendialog() { var options = ...



Top 50 recent answers are included