Got a list that will hold domain accounts so I can have access to their email addresses. I am using the following code to add them to the list:
Dim exec AsNew SPFieldUserValue
ForEach entity As PickerEntity In sppeExecs.ResolvedEntities
exec = New SPFieldUserValue(web, Convert.ToInt32(entity.EntityData("SPUserID")), entity.Key)
Next'now, get the list and create the item container
Dim execList As SPList = web.Lists.TryGetList(ListName)
If execList IsNothingThen
errorMessage.InnerText = "Sorry, but the Executive Director List could not be loaded. Please contact the IT Department Help Desk @ extension 2195."ExitSubEndIfDim execItem As SPListItem = execList.AddItem()
'add the executive user object and set the active field to true
execItem(Name) = exec
execItem(Active) = True
What happens is in the For Each loop at the beginning the exec variable isn't being loaded with a value. I've done this before and it has always worked, so I don't know what I must have forgotten to do.
When i am opening term store management it is showing this error.
I have checked all services are running.I have also checked Managed metadata web service is running by going in Central admin->Application Management->System Setting->manage services on server.
I have given all necessary permissions to me,as i am the admin.
Also when i am Creating the new Manage metadata service,it is creating but on clicking showing the same error.
Can anyone Please Help me on this issue as soon as possible.
I have to do reporting in my sharepoint 2010 site. I have charts web parts in my page . i want to add button to export each one to pfd.How can i do that?is it possible to do that with iTextSharp PDF Library?
Please help me to find any way to solve my problem
Creating a document library in Visual Studio and was wondering if you could setup the versioning there. That way, if I don't deploy the package I know that it is turned on the way I had intended it to be turned on.
I have a couple of projects where a use a people picker to get users added to a list. In our current domain environment we have two domains: our main domain that is used for user login information and another domain that was created for our erp system that, in my own opinion, needs to go away but hasn't. The erp domain is an exact copy of or main domain except that the user names are different and none of the profiles contain a user's email address.
What I would like to do is filter out that erp domain from the people pickers so that users don't select those accounts. Is there a way to do this?
I am new to SharePoint and want to know more about uses of Tags and Notes in SharePoint 2013.... I tried browsing through many sites, but didnt get the clear picture of it. Please can anyone help me in understanding these concepts.?
I'am a beginner on SharePoint development, i would like to know if someone could give me a starting project such a hello world to start working, i have tried web parts but i need a full project to understand how it woks, really i need your help
I have a text field in List. I want when I open Edit / Add new item Form, TextBox control of text field will be replaced by a dropdownlist. Dropdownlist is dynamically binding, not static. How can I do this??? I have found in few days but I still haven't done.
Please help me,
Thanks you :|
I still creat application kuis, but i have problem :
1. every Quiz consist of QuizTitle (e.g : Fruit consist of 7 questions, Animal consists of 6 questions)
2. user will choose 1 QuizTitle (e.g : Fruit)
3. user must answer the question and the user klik button next to next question until finish
4. When user klik button next, the answer will be saved in coloumn of Mark Answer
5. user must answer the question until finish
6. when last question, i have one button finish
7. i want in button finish have 3 action :
a. when user klik button finish, automatically the last answer
will be saved in coloumn of Mark Answer
b. Then, when user klik button finish, automatically calculate
c. Then, when user klik button finish, automatically direct to
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.
So we ended up contracting an external netowrk guy to fix something completely unrelated. In order for him to dial-in to a computer at one of our other sites to do maintanence we had to temporarily turn off the anti-virus on the router. Guess what? People could log into SharePoint with no problems while we had the anti-virus turned off. Looks like the auths where getting picked up by the anti-virus on their way back out to the client. Go figure.
Anyways, we've reconfigured our antivirus and everyone is happy.