Tag Info

New answers tagged

0

Those are field's internal names. You can find it by Open List Settings Then Hover mouse over the field (its a hyperlink) Look for a querystring with name Field Another option is to use SharePoint Manager. It is a windows form application which gives you much more details.


1

If there was already a JobTitle column, and another was created, it would append a 1 to the end of it. The easiest way to check the internal column names is to go into the list/libary settings and click on the column. This will open the properties of the column, and the URL in the address bar will show the internal column name for use in CAML/Javascript. ...


0

I just create new forms for everything, and use Designer to remove the fields in the forms I don't want them to display in, then set those forms as the default. You can use either the Design OR Code view to delete the rows you don't want to display on the New Item form.


1

It's way easier than all of this, go to List Settings, go to advanced settings, "Allow management content types "Yes" go back to list settings. You should see "Content Type" as a link (usually right above columns) click that. It's essentially a view of the form. Now once there you will see a list of all your columns again. Click on the column title, and ...


0

I think the submit option on your list is not working correctly (in that case only save/submit option on the form does not give any error but the data won't get saved on the list). Customize your list and make sure your submit button is connected properly.


0

You need a site collection administrator to either add you back with full control permissions or to have the list set to inherit from the parent.


1

I followed Aanchal's example though I needed a few other things to get it to work right. I needed to add a reference to jQuery, than I needed to find the proper styles to apply my changes to. I was displaying a really old filtered list from a WSS3 site Upgraded to SP2013. So I needed top open in a new page and change the Font/size of the text. ms-vb2, ...


0

You have to add ajax controls from the toolkit DLL in your toolbox on the left. For this, create another category in the toolbox. Click add controls and select the controls from the popup. You should be able to add ajax controls then just like you add normal asp controls via the toolbar. Should not be a problem with the target IDs then. Hope this helps


3

Below example demonstrates how to customize List View in order to highlight list item rows. Assume there is a Tasks list and depending on status, rows have to be highlighted using the corresponding color. Template code: SP.SOD.executeFunc("clienttemplates.js", "SPClientTemplates", function() { ...


0

You can do this by handling OnPostRender event. Something like priorityFiledContext.OnPostRender = [ ApplyRowOverride ]; function ApplyRowOverride(ctx) { for(var index = 0; index < ctx.ListData.Row.Length; index++) { var item = ctx.ListData.Row[index]; if(item.Field == "WhateverValue") { var row = ...


0

Go to the list that is lacking the link Select the view that doesn’t have the link appearing Select Edit Page from the Site Action menu Edit the list web part properties Note the current Toolbar setting Change the Toolbar setting and click Apply. Any selection other than No Toolbar should cause the link to appear after you click Apply. Reset the Toolbar ...


0

If you want actual security in place, then you should break the inheritance and provide item level permission. i.e give explicit permission to manager Joe Bloggs to all employee items where Joe Bloggs is the manager. Another option is to create a View which filter "Manager = Current User". And remove all other views. Don't give permissions to managers to ...


0

SharePoint Content Databases as the name suggests is used to store various contents. We can assign different Content Databases for following entities Web Application - In this case all content for that application gets stored here Site Collection - In this case site collection specific content gets stored here You are confused with database vs. list. ...


0

Figured out what was causing this. The setting Automatically update the workflow status to the current stage name is automatically set to yes for workflows in Designer. By unchecking this is stopped the duplication of my comments. The reasoning for this is it is updating my list item with my first stage name before it is actually running any actions in my ...


2

This will be hard to implement in a workflow. Because of two issues Get the list of emails - The main reason is to get all items, which require some kind of loop. In 2010 this is not supported out of the box Run every day and sent emails (I am not sure about how frequently you want this to execute. For #1 above we can solve it using some workarounds are ...


1

SharePoint stores changes to a list with before and after values in the site's change log. Since this is how SharePoint stores the changes to the data, there would not be a way to just query the data you are looking for. So you would have to create it with a custom solution of your own. You could consume the change log using a web service and filter it by a ...


1

This can be done in many ways, depending on the need. Check for the following first Should this happen instantly when any new item is added in List A? Is this is a one time operation? Should this happen even when an item is updated in List A? Following are few approaches which can be followed. Event Receivers : Create remote event receivers for ...


1

Assuming you have same destination fields with same type as in source list following PowerShell will solve the purpose... try { # OUTPUT TO SCREEN THE CURRENT SPWEB. write-host "Working on Web: "$_.Title -ForegroundColor Green $numDaysToExpire = $ExpireDays $expireDate = Get-Date $expireDate = $expireDate.AddDays(-$numDaysToExpire) ...


1

To allow the web service to upload larger files try to increase the value of maxRequestLength (system.web/httpRuntime) as well as the value of maxAllowedContentLength (system.webServer/security/requestFiltering/requestLimits) See this forum thread.


2

SharePoint 2010 supports client object model. So using client object model (JavaScript) get all the data from the list (into any format of your choice). Another option is using the web services (spservices) or REST endpoints to get the data. Then use that to bind to any of the jQuery grid control. Handle the grid events and on those event use client ...


0

You may consider to make use of the function $().SPServices.SPCascadeDropdowns in SPServices jQuery library. Here is the Codeplex website: http://spservices.codeplex.com/documentation


1

Hers is the code you need to use in Event Receiver... int newID = 0; //Get current year int currentYear = DateTime.Now.Year; //Your list name string listName = "Test"; //CAML string assuming 'Title' is the column contains unique ID string ...


0

Looking out the picture, it's all right, I suspect that is the email. Following is an example of what the action might look like in a workflow step, Email Variable: approvers or Email "user account" where "user account" must contain the same display name of the site. Note: if you use other e-mail such as @outlook, @gmail and other, not will work and ...


0

You can create a button on your display form and click on manage rules add a rule on selecting actions and select the rule as switch views. Please check the screen shots


1

You should add navigation buttons to your form via Buttons or Picture Buttons, Then add the rule Switch to view: ViewName By doing so you do not need to click the edit button on the ribbon to change views.


1

Is your server's date correct? Maybe it's taking Yesterday's date as Today! If you have multiple server environment, check all the servers.


0

Filter list.Hidden = false to discard hidden lists...I have modified your code as follows... private void GetAllCustomList() { using (SPSite oSite = new SPSite(AppName)) { using (SPWeb oWeb = oSite.OpenWeb()) { // SPListCollection docLibraryColl = ...


0

You can use the Author property that is available as part of the SPList object. You can add a condition as foreach (SPList list in oWeb.Lists) { if(list.Author.LoginName == "domain\username") .. //Do the action Update You can do this in two ways Use SPList.Author.Name == "System Account" - Assuming "System Account" provisioned the site and ...


0

I don't think that is possible. You can follow below pattern to solve the issue Store currentitem id to a workflow variable WV_ID Wait for X timeframe If list not contains item with ID = WV_ID Current Item is deleted - Log Message & Stop Workflow Else ... Continue normal operations



Top 50 recent answers are included