New answers tagged

0

You have to manually change to all the subsites, it does not automatically drill down. Another option is to use the PowerShell and apply the logo to all sites. You can use following PwoerShell Add-PSSnapin Microsoft.SharePoint.PowerShell $siteurl = "https://test.sp2010.dev" $sitelogo = "/Style Library/My Project/Images/logo.png" $site = new-object ...


0

Try adding datetime'yourDate' So your request looks like http://site/_api/lists/getbytitle('EventCalendar')/items?$filter=EventDate gt datetime'2016-05-01T05:52:12Z'


0

You can use the MAX function and output it in Date format. =MAX([date1],[date2],[date3]) If the Date fields are empty, write an if case to avoid garbage values.


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 = ...


0

This is solution int j = 1; //Set alternate row color tableRef.HeaderRow.Style.Add("font-size", "15"); foreach (GridViewRow gvrow in tableRef.Rows) { //gvrow.BackColor = System.Drawing.Color.White; if (j <= tableRef.Rows.Count) { for (int ...


0

If the list item is a document then you can use the MapToIcon method of the SPUtility class if (Item.File != null) { SPUtility.MapToIcon(Web, Path.GetExtension(Item.File.Name), string.Empty, IconSize.Size16); }


0

Just looking at the error message one can easily say ,it is something related to Authentication, After digging out so much inside every possible reasons and banging my head against the wall for a couple of hours , finally I noticed that the user account which was used for security token service App Pool had not enough rights on UPS, So I changed that ...


-2

This link helps me with the same problem http://www.infopathdev.com/forums/p/23515/81553.aspx


0

I think this article can help you: http://fixingsharepoint.blogspot.com.br/2014/09/sorting-sharepoint-list-item.html


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 ...


1

We were facing the same issue, we solved this by changing the following parameters (Power Shell). In our case, it was caused by very large workflows processing in parallel. ServiceBusTopicSizeQuotaInBytes: Set-WFServiceConfiguration -ServiceUri "https://workflow-service-url:12290" -Name ServiceBusTopicSizeQuotaInBytes -Value 18737418240 ...


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 ...


0

It works. I don't know why, but as I said, I didn't do anything and my field became optional. Then I think how I do it is the good way. Unfortunately, the changes seem to happen later for no apparent reason.


0

I had to do something similar recently, this worked for me: foreach (var list in lists) { string listName = list.Title; CamlQuery camlQuery = new CamlQuery(); camlQuery.ViewXml = "<View Scope=\"RecursiveAll\"><RowLimit>1000</RowLimit></View>"; ListItemCollection collListItem = list.GetItems(camlQuery); ...


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) { ...


0

I also faced the same issue.To solve it you need to verify 2 things 1- Your Url must be like http://[site]/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl 2- You must have MS-Excel installed on your system Please refer this Error - while exporting a Sharepoint List (Export to Excel)


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 ...


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 ...


0

Are you creating an item in a document library? The dialog suggests that. In that case, you need to provide a file/document. Just metadata is not sufficient.


1

None of these answers work. Did anyone bother to test them? After looking elsewhere and working it out myself, here's what works: =TEXT([Start Date],"mm/dd/yy")&" - "&TEXT([End Date],"mm/dd/yy") You can adjust the way the date shows by using the mm/dd/yy part, which is intuitive.


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 ...


0

You can simply use the infopath way to custom a list form : And here is a tutorial that explains how to do what you want : https://www.youtube.com/watch?v=-HnLhXVQf-M


0

You can use calendar view of task list. For different color, add custom javascript or css based on client id/name.


0

Are there more values that are category specific? I see three options: The simplest way to do this is simply creating 3 content types. Each content type is a category. You can give different columns to each content type/category so each has a different set of form options. You could also try using a survey, it has some options to display and hide specific ...


1

In order to work with While loop in SharePoint designer workflow you can refer to this link Create while loop in SharePoint Designer 2010. Also you can specify your requirement in little dept so that answer can be up to the question. Please have a look to the link and let me know whether it helped you or not. Thanks


0

You can have a IF-Else condition in your workflow. There is no specific while loop in 2010 designer workflows. Can you please elaborate your requirement.


-1

Use ~site/... or ~sitecollection/...


0

For your Q#1, check to see if it's using different master page on the root site. Check for any errors in the console. From your screenshot, it looks like the all the menu items are present but flattened out (i.e no dynamic drop down navigation) Switch to original master page for one of the two master pages(custom or system) see if it works. For your Q#2, ...


2

Try using this approach. (function () { var overrideContext = {}; overrideContext.BaseViewID = 2; overrideContext.ListTemplateType = 10001; overrideContext.Templates = {}; overrideContext.Templates.Header = "<h2>My Custom Rendering Movies View</h2>"; overrideContext.Templates.Fields = { 'PopularityPercent': { 'View': PopularityViewTemplate } }; ...


0

As you said in question, the navigation appearing correctly on Setting page but not on main page, then make sure that Site Master Page and System Master Page are same. There might be possibility that, System Master Page is using actual Navigation and Site master page is using some custom navigation


0

For Setting the navigation same as parent site you can go to Navigation link in Site Setting in each sub site and chose inherit from parent site navigation and it will work perfectly.


1

You can remove Page Title 'National Statistics Office' (site name) using below custom CSS code /* custom css to remove the page title */ h1.ms-core-pageTitle { display:none; } for the menu, can you please explain more as both images look like same so its hard to identify the problem. As i understand here that you want same navigation in all subsites from ...


0

It is not possible, but what is usually done: 1) You create a site to use as the basis for a template 2) You save the site as a template 3) You create multiple sites based on the template 4) You modify the site basis (the one created in step 1) 5) You create the template again and delete the old one. 6) You create new sites. Based on the template of ...


0

Not possible using workflow. You need to create event receiver on task list and add Item Adding event. Do code for checking assigned user is on leave on specific date range in calendar list, If get result more than 0,cancel event, so user can not save item and get event receiver cancellation message with your custom message.


1

No you can't. A site template is a package that contains a set of differences from a base site definition. Below are the Pros & Cons of Site Template Site Template Pros:- Site templates enable administrators to create predefined sites to simplify site provisioning from a user perspective. Sites that are created with them are consistent, which ...


0

You can try this one, window.open("http://www.w3schools.com");//opens in new tab reference


1

Someone could have done this using powershell or .NET.


0

Looks like One is list and Other is library. Could you please run thebelow PowerShell and confirm it. to check if it is library: Get-SPWeb https://xxxxxxxxx/projects/1625382710/ | Select -ExpandProperty Lists | Where { $_.GetType().Name -eq "SPDocumentLibrary" } | Select Title if ProjectWiseProjectLink showed here then it is library.otherwise To check ...


0

There is no application to open project in the browser. What exists is Microsoft Project Server, but does not work on SharePoint Foundation. You need to install SharePoint Enterprise and Project Server . It also requires Microsoft Project Professional as a client See https://products.office.com/en/project/enterprise-project-server Sample image from MS:


1

SharePoint does not have any tools in the box that identify business days. Conceptually: Create a list with holiday dates. for the main list, use a workflow that sets the notification date. The workflow will work out the weekday of the due date and look up the due date in the holiday list and then subtract the required number of days from the due date, ...


0

Just restart the timer service through services.msc


1

objQuery.Query = "<Query><Where><And><Geq><FieldRef Name='EventDate' /><Value IncludeTimeValue='TRUE' Type='DateTime'><Today OffsetDays='7' /></Value></Geq><IsNotNull><FieldRef Name='Title' /></IsNotNull></And></Where><OrderBy><FieldRef Name='EventDate' ...


0

Try this code from MSDN: https://msdn.microsoft.com/en-us/library/office/jj163201.aspx function createListItem(siteUrl) { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('Announcements'); var itemCreateInfo = new SP.ListItemCreationInformation(); this.oListItem = ...


1

Look for "PlaceHolderQuickLaunchBottom" content-place holder in your custom master page and comment out the DIV tag as shown in the below link. https://social.technet.microsoft.com/Forums/office/en-US/5d30118a-8be7-4ed7-9f0d-b40ecf1054fd/a-menu-item-called-site-contents-on-the-left-site-menu-of-my-site?forum=sharepointgeneral


1

This would only work as long as you have the English version going on li[text="Site contents"]{display:none;}


0

Not exactly an answer, but I have a suggestion. Customize Error.aspx page which is located at 15 hive layouts folder. But before doing that, take a backup of the file. Add script block at the end in PlaceHolderMain. If you identify a message which contains the Runtime error, redirect to your custom page.


0

This is now resolved, after modifying my C# code I attempted to associate the workflow to my library to see if this would work and also included following line of code "workflowAssociation.AutoStartChange = true" and what I found while debugging was that I had a error on this line "Operation is not valid due to the current state of the object". I started ...



Top 50 recent answers are included