I'm using the following script (found on line) to disable a multi-line text box form field control on a custom EditForm.aspx page using SharePoint Designer:
// add change handler
// call the change function to set up form for first display:
var thisVal = $("input[ID='chkBox']").val();
if(thisVal == "True")
I don't get an error and can't figure out why it isn't working. Does anyone have a similar solution or see why this script won't work?
I am not able to connect to my analysis service from PPS.
Whenever i am providing the server name it is not showing any error but in the database item it is not finding the database and simply showing null.
I have a Visual Webpart in Sharepoint.Iam trying to use updatepanel inside Dropdownlist with autopostback to true.But it gives error as
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 21 Mar 2013 12:12:42 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
I’m trying to make a map that get address data from a SharePoint 2010 list and add pushpins according to each address.
I’m using REST services from Maps Ajax Control 7.0 to transform locations into coordinates.
The map is working, but I think the code is not correct. There is a loop placed on “function GeocodeCallback(result)”, but I can’t understand why it is there. If I delete the loop code line, the map doesn’t show pushpins.
Please, someone could explain why I need the loop. If the loop is incorrect, please, show me how to fix it. I am not a programmer but I am learning to be one.
// Add a pushpin at the found location
var location = new Microsoft.Maps.Location(result.resourceSets.resources.point.coordinates, result.resourceSets.resources.point.coordinates);
var pin = new Microsoft.Maps.Pushpin(location);
// Create the infobox for the pushpin
pinInfobox = new Microsoft.Maps.Infobox(pin.getLocation(), infoboxOptions);
pin.Title = "teste " + i; //usually title of the infobox
pin.Description = result.resourceSets.resources.name; //information you want to display in the infobox
// Add handler for the pushpin click event.
Microsoft.Maps.Events.addHandler(pin, 'click', displayInfobox);
// Hide the infobox when the map is moved.
Microsoft.Maps.Events.addHandler(map, 'viewchange', hideInfobox);
I've just created a new list for a wsp package that I have previously deployed to my production site. The new list shows up just fine on my development server, but doesn't on my production. I have retracted the solution, removed it, and then deployed the updated solution, but the list does not show up on my production site.
I have some pages that I built with this update and the show up just fine and the list, along with it's content types, are in the feature and the package. I've rebooted the server to see if they would show up and they still haven't. Is there anything else I need to look at that could show me the answer?
The above code opens up Outlook Email Message but I want the current infopath form in body of the message.
Im not a coder, I appreciate if someone can point me in the right direction.
The OOTB Option do send email but we want to able edit the email before sending. So we need to hard code.
I only know how to send the formular as attachment. Therefore you have to setup a new Connection "Data"-Tab in InfoPath -> sent Formular -> To E-Mail (they may be called differently I just got the German version).
You can setup options there (for example your own C# Code). Then use the connection for a button and you can sent the an eMail.
I can't help you any further because I didn't had that case yet.
I have a content type that I am needing to add a new column to. This new column is a boolean field and by default it is set to False. Now, I already have alot of items in the existing list, so each of these will need to be updated as well with the default value of the field, but how would I do that? Do I do that in the Event Receiver of the Feature object? And under which method would I do that under: FeatureActivated or FeatureUpgrading?
how can i access attributes( properties like modified date etc..) of documents from a sharepoint site ?
I amd using sharepoint 2007. Is there any sharepoint webservice for this purpose ?
(for desktop application using C#.net or vb.net)
Ran into an issue just now and need a little help. I have a custom document library that has two columns for text: Title and VideoLink. This document library is for our HR department to upload training documents to our intranet along with optional videos that they will link from other sites. I can get the documents to upload fine, but nothing is populating in my two text columns. Without displaying my full code, here is basically what I'm doing for both columns:
dim eItem as splistItem = elist.AddItem()
eItem("Title") = txtDocItem.Text.Trim
eItem("VidLink") = txtVidLink.Text.Trim
Is there something I'm missing? I've used the same logic to upload pictures to a picture library, and those custom fields work fine.