Hot answers tagged

3

Document Libraries in SharePoint consist of your main/core documents. For example a word document, excel, PowerPoint, Visio, pdf, csv, notepad etc. Form libraries consist of XML forms (InfoPath Forms). The scope of answer will very huge as there are so many different scenario. But major difference is Document Library is used to maintain the documents ...


3

Regarding the error you are receiving, if you are using different regional settings than English in your site, try to replace all the commas (,) to semicolons (;). You could make a easier calculation to. This one returns the number of days, hours and minutes between the 2 dates. =TEXT([Fin Diag]-[Debut Diag];"d:h:mm") Update Tried out your calculation ...


3

Go to List settings -> under Content Types heading all the content types the list is using are listed Click any content type, this will list all the columns and click the column you will be able to delete the column by using Remove button at the bottom (don't worry it will not delete from the parent content type - it will just delete the column from list ...


2

I am running into almost same issue where i need to show exchange calendar of everyone in SharePoint. If you just want to show the exchange calendar events timing, then probably the Calendar Overlay in SharePoint is the best approach for you. But it will show the event time and the status i.e Busy, Free, In Meeting etc not the actual event detail i.e ...


2

I have understood your scenario and tried same requirement in my environment. You need to check 2 things to make your code in running mode 1- You should not run the workflow from system account 2- The type of data you are copying from one list to another must match datatype else it will not copy in another list. Here what i have tried in my environment ...


2

You can use a couple of approaches: Save last item id in SPList properties and then retrieve the value next time you're adding an item: //set - after setting all field values and updating the item itemAdd.Update(); wayList.RootFolder.SetProperty("LastItemID", itemAdd.ID); //you need AddProperty if it doesn't exist //get //then subtract 1 if needed var ...


2

You can perform this activity using CAML query with the below logic Get the list items in descending order Set row limit as one and retrive the record CAML Query: <View><Query><OrderBy><FieldRef Name='ID' Ascending='False'/></OrderBy> <Where> <Eq> <FieldRef Name='Title' /> <Value ...


2

I wouldn't use an index counter as mentioned by Amal... Here is what I would use =TEXT([Birthday],"mm/dd") This is a more well rounded solution which will allow you to do more. This will give you exactly what you are looking for. Both methods will work for you but this will give you exactly what you want if the date is oriented if displayed worded or in ...


2

Each list keeps its own IDs and you will not be able to keep them perfectly in sync. Create a helper columns and let the workflow copy the ListA ID into that field, then refer to that field as the common ID. If you use the workflow step "Create item" instead of copying an item, you can transfer any field value from the current item to the new item, as ...


2

Document Library: is used for storing documents Form Library: is used for storing InfoPath forms http://www.bizsupportonline.net/blog/2014/what-is-sharepoint-form-library.htm


2

If the site is not available in 1st and 2nd stage recycle bin then that means it is gone completely. Now the only option is to restore it from Backup. If you have backup of your site collection then restore just before you deleted the subsite. If you have content DB backup then restore it and using the Unattached Content Database recovery and export the ...


2

You can simply use the SharePoint Management Shell instead which has pathing for psconfig, but instead, use PowerShell. Initialize-SPResourceSecurity is the replacement for that specific command.


2

Given you did not reference your SQL Server by IP address when building the farm, the process is straight forward. Update the IP address. If you used the SQL Server hostname (computer name) on the farm, just wait for the IP address to update in DNS. If you used a custom A record, update the custom A record to point to the new IP address.


2

Author is the person who created the item. It is assigned once the item is created and never changed. Editor is changed every time item is modified. Better use SPFieldUserValue to retrieve SPUser. foreach (SPListItem item in myItemCol) { SPFieldUserValue usrAuthor = new SPFieldUserValue(SPContext.Current.Web, item["Author"].ToString()); author = ...


2

Try <div><img src="image.jpg" /></div>


1

What is Survey in SharePoint 2013? Survey a special kind of list that enables the owner to create questions, have multiple people to respond, and summarize the results. You can use surveys to ask people what they think about issues, how to improve your processes, and many other topics. You can collect the results by using several different types of ...


1

Go to library settings and in advanced settings, check "Allow management of content types" as yes. This will prompt the form to fill in the columns. Alternatively, you can also set any of the columns as required to prompt the form to fill the column values.


1

Best is to investigate the ContentType Hub, a SiteCollection for storing (besides ContentTypes) any content you want to share With JSLink you can reference files in any other Site Collection with a absolute URL, just remember the User needs read access On Office365 you can reference files from any location Update #1 And.. On Prem... SharePoint runs on ...


1

You can use below PowerShell command to set Require Check Out feature on each document library on all sites foreach ($web in (Get-SPSite -Limit All | Get-SPWeb -Limit All)) { Write-Host “Processing Web: $($web.Url)…” foreach ($list in ($web.Lists | ? {$_ -is [Microsoft.SharePoint.SPDocumentLibrary]})) { ...


1

You can easily do it with PowerShell script.It is having attribute $list.ForceCheckout = $true for more reference you can refer this Change SharePoint list settings using PowerShell - Part 1: General and Versioning Please let me know if it help you. Thanks


1

This is the solution (: SPList wayList = web.Lists["WayBill"]; SPFieldChoice dropdown = wayList.Fields.GetFieldByInternalName("Company") as SPFieldChoice; foreach (string choiceName in dropdown .Choices) { ddCompany.Items.Add(choiceName); }


1

Below given solution covers all SharePoint error pages To configure SharePoint Foundation server or SharePoint Server 2010 to point to a custom 404 error Web page, follow these steps. Log on to the computer that is running SharePoint Server 2010 by using an account that has administrative permissions. In Windows Explorer, locate the ...


1

If a site is deleted, it will skip the 1st stage recycle bin and go straight to the 2nd.and still counted towards the quota. this is expected behaviour. It will be gone either after 30 days( as your settings) or reach 50% of your site live quota. If you want, you can reduce the 50% number to down to get the space back quikcly or delete it manually. This ...


1

You got two options :) Either using a custom display template or using JSLink Display Template: I believe Birthday column has the year so the solution suggested by Patrick won't work! Honestly, Copy one of the existing display templates and apply that logic easily there and only display the desired result (parsing dates in javascript and doing date ...


1

It should look something like this: [Birthday] is equal to DATE(YEAR([Birthday]),MONTH([TODAY],DAY([TODAY]))


1

You can't use the calculated field BirthGet for this purpose. You should use a Date field and check if it equals [Today]


1

This is because of security setting of SharePoint.Source All you've to do is: add the OnClientClick to the button's event, _spFormOnSubmitCalled = false;_spSuppressFormOnSubmitWrapper=true; <asp:Button ID="btnExportToExcel" runat="server" Text="Export to Excel" onclick="btnExportToExcel_Click" OnClientClick="_spFormOnSubmitCalled = ...


1

I don't think there is something OOB for multiple columns. I would suggest to use JavaScript and override PreSaveAction to prevent the save if the combination exists. Something like that : function PreSaveAction(){ //get field 1 value //get field 2 value //perform a query to check if there are items that matches criteria if(noresults) { ...


1

I think you have to modify two parameters : parentColumn: "Type de la demande", //Printed Name childColumn: "Sous-type de la demande", //Printed Name TO parentColumn: "Catégorie", //Printed Name childColumn: "Choix", //Printed Name The problem comes from these parameters because you have to write exactly what is written on the form. In your ...



Only top voted, non community-wiki answers of a minimum length are eligible