The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

1
vote
1answer
1k views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
0
votes
0answers
5 views

How to prevent sharepoint login dialog when developing webparts?

While developing sharepoint webparts, I have realized that sometimes, accessing SPContext variables prevents the webpart from being accessed anonymously and wrapping them in a ...
-1
votes
1answer
18 views

Display message when user again trying to respond survey?

When User Try To Respond Survey Again ,Displaying Some Error message ,but i want to display A User Friendly Message... I Read Some Article But Not Found Any Solution Yet,help me
0
votes
1answer
9 views

Search Result Web part affect on Content Search Web part ,both webpart on same page

Currently on single page having both Search Result Web part and Content Search Web part, if enter any keyword in Search Result Web part it display result but at the same time Content Search Web also ...
1
vote
2answers
63 views

Change Document Library Webpart's Toolbar Type to 'Show Toolbar' programmatically in sharepoint online sandbox solution

I want to change the Document Library's webpart property 'Toolbar Type' from 'Full Toolbar' to 'Show Toolbar' programmatically. I am working on Office 365 sandbox solution. I am creating document ...
0
votes
1answer
20 views

Restrict permissions/access to list items in code

Does anyone know a way to restrict access to list items in code, even if someone has full control on a list item, deny that in code. I know there is a way for updating using event receiver, but I'm ...
2
votes
4answers
565 views

Is it possible to read a sharepoint website using C#

I am new to sharepoint technology. I want to know if it is possible to read a website hosted in sharepoint. I can see that page after I log in. Can I do that in C#? And do I have API to do the log in ...
0
votes
1answer
29 views

Asynchronus loading of visual web part

I am developing a visual web part that will do some some heavy operations. It is a visual web part in SharePoint 2013, on premise. I want to load my data asynch. Ajax toolkit is not compatible and ...
0
votes
1answer
24 views

how to Implement custom share functionality in SharePoint 2013 To share an article via email programmatically?

Client Says That users will have the ability to share an article via email. This will take the form of an icon on the page that will have the same effect as the “share link” OOTB functionality. Is It ...
0
votes
1answer
30 views

how to refresh search result Web Part (OOTB)?

Currently using Search OOTB ,in search Box enter some text and click on search button it display result ,but after that i clear the text in search box and click on search button ,the search web ...
1
vote
1answer
453 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the site map provider. I have a breadcrumb in the mysites and i use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if im on my ...
0
votes
1answer
1k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
2answers
58 views

Programmatically create content database in C# (SP 2013)

The goal is to have a web user interface with the option to create new site collections with new Content Database. With the admin user I can manually in the CA create new Content Databases. I can ...
1
vote
1answer
713 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
8
votes
5answers
21k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
0
votes
3answers
2k views

Is it possible to have CAML Join without Lookup Columns?

I am new to SharePoint. I am developing a web-part in that I am trying to join two list. I have a same web-part in that lists were join using LINQ query. But it takes more time to fetch the data. So ...
0
votes
1answer
444 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
1
vote
0answers
18 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : ...
0
votes
3answers
19 views

How to do a real time research in a SPList from a Textbox

I'm working on SharePoint 2010 (with Visual Studio 2010) for an internship and I would like to do a real time search in a SPList from the value in a textbox. I have something in mind like Google's ...
1
vote
1answer
1k views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
0
votes
1answer
33 views

Display Custom Fields in a SharePoint 2010 Content Query Web Part

Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a ...
0
votes
1answer
764 views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
0
votes
0answers
9 views

Updates are currently disallowed on Get requets, Code behind trying to update list item

I am using the below code to get id from url and get list item, then update it. But i am getting an error Updates are currently disallowed on Get requets. To allow updates on a GET , set ...
1
vote
2answers
642 views

Upload document to Sharepoint 2013 Online using webservices

I have a client who is implementing customer portals in Sharepoint 2013 Online. The current program distributes documents to the customers by mail. Now we have to upload the documents to the customer ...
0
votes
0answers
10 views

External Data Field - check if item exists

I am using this code to set a external data field programmatically XmlDocument xmlData = new XmlDocument(); xmlData.LoadXml(myBCSField.SchemaXml); String bdcEntityName = ...
1
vote
1answer
2k views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
0
votes
2answers
19 views

Problem to read custom webpart properties (if it's not static)

I have problem with custom properties. I want to set custom boolean value or write custom text. It do not work, if I don't set values to static. However, if I set value to static all webparts share ...
0
votes
1answer
846 views

Sharepoint 2013 Site Title only show parent site

I have a team site and am using the Site Title snippet, but I don't want that changing to show my subsite titles. For example here is an example team site hierarchy we are using for our companies ...
1
vote
0answers
16 views

SharePoint webpart layout problem

I'm trying to create simple visual webpart what should list files multiple locations and allow user add new files. However, I have small layout problem: Visual webpart takes too much space on ...
1
vote
1answer
399 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
0
votes
1answer
31 views

Retreive Items from SharePoint list using c# client object model

I am trying to retrieve the Author and Editor column values of a sharePoint list using C#(SharePoint client object model). Instead of displaying the value of Author field, it is getting displayed as ...
0
votes
2answers
59 views

Hide left navigation items in SharePoint 2013 programmatically

Currently I am displaying items on Quick Launch (Left navigation). These items come from Navigation Setting My requirement is to hide some items in the left navigation bar programmatically, how can ...
0
votes
1answer
466 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
1
vote
2answers
430 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
2
votes
1answer
402 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
3
votes
1answer
716 views

Iterating over user profiles in Sharepoint Online 2013

With the on-premise instance of SharePoint, I am able to call the GetUserProfileByIndex from the User Profile Service to iterate over user profiles. However, with SharePoint online 2013, I get the ...
42
votes
62answers
7k views

List of SharePoint development tools [closed]

What tools do you consider essential in your SharePoint development toolkit? One answer per tool please so the community can vote!
1
vote
3answers
35 views

Programmatic access to new Publishing Pages that haven't been checked in

Is it possiblet o get a list of Publishing Pages in a Pages library that have been created, but haven't been checked in after initially creating the page? SPList.ItemCount does give the correct ...
1
vote
2answers
34 views

Can SharePoint code interact with a remote SharePoint server

We plan on having some scheduled services run alongside our SharePoint environment. These services include pulling data from a remote system into SharePoint, and sending out timed notifications based ...
1
vote
1answer
38 views

How To Use Request.Querystring In SharePoint 2010 Application Page?

I have the following lines of code: SPList thisList = oWeb.Lists[new Guid(Request.Url.QueryString).Get("List")]; SPListItem thisItem = thisList.GetItemById(int.Parse(Request.QueryString["ID"])); ...
3
votes
2answers
4k views

How to read an User field value for a list item

I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
3
votes
1answer
1k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
0
votes
0answers
18 views

'My Application Page' is not allowed here because it does not extend class 'System.Web.UI.Page'

I have a custom SharePoint 2010 solution that includes an aspx page. The aspx page in is in the /layouts folder within the solution and I created it by just adding an application page to the ...
1
vote
2answers
39 views

Programatically detect which list is used in the form

I'm creating a web part to be added on a form (DispForm, EditForm, NewForm) that will control the visibility of the form's fields. On the web part's tool part, I'm planning on displaying the list of ...
-1
votes
1answer
26 views

Get List Item URL (fileURL- Server Relative URL)

I have a list created in SharePoint. Now I want a server relative url (list item URL- i.e. "http://server/site/list/<listname>/file1.xml") using C#. How can I get it? I am using SharePoint ...
0
votes
1answer
14 views

How to get the SPFieldLookup object from a SPListItem

I have an SPListItem from a SPList That contains a Lookup Field. How do I do to get the SPFieldLookup object from this item? I need to get the other fields from this object an not only the title.
0
votes
1answer
260 views

Create user profile programmatically

I want to overwrite the existing user profile that are in sp with my own one. public string AccountName { get; set; } public string WorkPhone { get; set; } public string Department { get; set; } ...
0
votes
1answer
35 views

Get the InternalFieldName Programmatically

I have a requirement to always use the internal field name for columns in custom Visual Studio projects. I want to use the internal string value of the field name consistently and have the following ...
0
votes
0answers
11 views

In Survey List How To Check User Given Responce Or Not?

Actually I Have Survey List Web Part On Home Page, When User First Time visited Home Page And give response to survey list so that time i am Showing result. but Now My Requirement is If User ...
0
votes
0answers
51 views

Generate automatically SSRS reports via SharePoint Workflow

I have developed SSRS reports (.rdl) and I want when a user subscribes to a report, this one will be generated by a workflow periodically, how can i do that on SharePoint 2010 ?