The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
0
votes
0answers
5 views
How can I access/set stsadm properties from code?
I'm trying to set the ChangeLogRetentionPeriod stsadm property from code, which is normally set from the SP powershell.
What is the best way to go about setting this property from code?
Background: ...
2
votes
0answers
86 views
How to download the historical file version content using CSOM
I am trying to download the previous version of a document from _vti_history location of the file using client object model but the OpenBinaryDirect is giving
not found 402 error
for URL.
My ...
1
vote
2answers
332 views
Remove Sharepoint RadioButtonChoiceField Focus on application page
I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
0
votes
1answer
12 views
COM ListItem not updating
ClientContext cl = new Microsoft.SharePoint.Client.ClientContext("http://" + "mysharepoint" + "/" + SubWeb);
System.Net.NetworkCredential cred = new System.Net.NetworkCredential("myuser", "mypass", ...
0
votes
0answers
10 views
Problem in mail web part
I wrote this code to send mail but there are exceptions in running it.
public string SendEmail(string mail, string password, string to, string subject, string body, string filePath)
{
...
0
votes
2answers
36 views
How to programmatically check if the current user has permissions to a site collection?
Given the URL of a site collection root, plus the current logged in user, I need to know if the user has permissions to at least see the welcome page.
If there is no Welcome Page set, then I need to ...
0
votes
1answer
9 views
Customize SuiteBarLinks without removing NewsFeed, SkyDrive, and Sites
I want to customize the suitebar links and I already did with a delegate control the only thing is that it removes the existing links, newsfeed, skydrives and sites and I want to keep them
public ...
0
votes
1answer
95 views
CAML query, only want to render days in Calendar
I'm new in CAML. I try to learn it. I want to render a day's on ASP Calendar. Have got a list with 5 colums/fields:
Kontrakt | Pracownik | Dzien | ID | Procenty
...
0
votes
1answer
370 views
Create TermStore (SPServiceApplicationProxy) Programmatically
Is it possible to create a new custom TermStore Programmatically?
something like
SPServiceProxy proxy = SPFarm.Local.ServiceProxies.Where(s => ...
-1
votes
0answers
16 views
Get elements from Sharepoint list to MSSQL
I do the Data Warehause and I must take only from one Sharepoint list all elements to the Microsoft Serwer 2008 R2.
How could I read elements from Sharepoint List via MSSQL language. I can't use ...
26
votes
5answers
10k views
How to update custom master page and page layout, which is already deployed
I have a feature which deploying custom page layout. It's done by this code:
<Module Name="MasterPageModule" Url ="_catalogs/masterpage">
<File Path="MasterPageModule\defaultTemplate.aspx" ...
0
votes
1answer
24 views
Get reference to the document library sharepoint 2013
I want to get reference to document library in code using SP 2013 by url, I am trying the SPWeb.GetList(url); but it works for lists only.
any help?
2
votes
1answer
415 views
Add custom groups to custom ribbon tab from different features
I have two features in SharePoint 2010 project. Every feature has its own button that have to be placed in different groups on the same custom tab.
For example:
Feature1 adds "Hello" group with ...
0
votes
1answer
22 views
Developing a custom NewForm
I have created a custom layout in _layours/PhoneBook/createform.aspx and then wrote the following code to run upon activation:
private void newAddFormForMembers(SPWeb web)
{
SPList ...
0
votes
0answers
22 views
Where in MS SQL Server 2008 R2 are list content [duplicate]
Where in MS SQL Server 2008 R2 could I find out a content from all lists which I have got in my Site Colection. If I oppen MS SQL Serwer 2008 R2 I see a lot of data bases, but I don't know in which ...
0
votes
2answers
29 views
How to describe all content from the list in SQL
I must do Data Warehouse from my lists in Sharepoint.
I need to connect to the Sharepoint and get all elements from the list and Show them in MS SQL Serwer 2008 R2. I need to show them in another ...
0
votes
1answer
328 views
Why the files which are added as link in project are not deployed on SharePoint 2010
I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A".
In project "B" I put various ...
1
vote
2answers
433 views
My custom sharepoint 2010 Timer job not running
I have created a custom timer service to create a list. its scheduled in minute using FeatureActivated event. I could able to globally deploy the solution. But the my timer job is not running. Its ...
0
votes
1answer
31 views
Sharepoint not Installed
Hello I'm trying to create a sharepoint 2010 project. I have Sharepoint as well as Visual studio 2012 installed on a VM, but when i go to create a new sharepoint project it tells me "Sharepoint not ...
0
votes
1answer
11 views
Creating directory structure from custom ribbon action
Environment: 2013, VS2012
I'm trying to develop a custom ribbon button for a document library that creates a folder (ie: a new project) and populates it with a hierarchy of sub-folders. I have some ...
0
votes
0answers
16 views
Site definition with workflow
i need advice on how to implement workflows inside a specific situation.
We have a list of projects. When someone adds a new project we need
to create a subsite for this project (with the proper ...
0
votes
0answers
10 views
InfoPath - update existing SharePoint List Item using SharePoint Object Model
InfoPath 2013 browser form - a secondary data source loads the list of items that will be updated (changed) on an On After Change Event. It is only changing the value of the 'Status' column in every ...
0
votes
0answers
19 views
how to update Document in doc set
I've been trying to update the file name of a document inside of a doc set. I continually get either a "Invalid data has been used to update the list item. The field you are trying to update may be ...
0
votes
1answer
31 views
Order of web parts programmatically added to SharePoint page
I am adding multiple list viewer web parts to a SharePoint [web part] page using the code below:
// Create the object SPLimitedWebPart Manager
SPLimitedWebPartManager WebPartMgr = ...
0
votes
2answers
29 views
how to add items to managed metadat
I've added an new term in the 'taxonomy term store'. The new terms show in the columns that are using managed meta data. I'm querying the Lists/TaxonomyHiddenList/AllItems.aspx list for id's, but ...
0
votes
2answers
33 views
How to add a calculated column to list view programmatically?
I have created a SharePoint feature where I have added a list named "Employees".
I have added a Content Type "Employee" and added to it some columns like "Vacation Days Taken", "Vacation Days ...
1
vote
0answers
84 views
SPListItem.Update Not working
So I have this really simple function which updates a couple of fields on two different lists (one is a document library)
The thing is on the document library does not updates any of the fields I need ...
0
votes
1answer
19 views
How to set the rowlimit in content query webpart by code?
I need a content query web part that returns me the last 10 modified or added documents into any document library on that specific website.
How can I add the rowlimit by code?
ContentByQueryWebPart ...
0
votes
0answers
17 views
Strange error after feature activation
When ever I try to activate a feature I get:
[SPUserCodeSolutionProxiedException: That assembly does not allow partially trusted callers.]
I am not sure what this means, but what I do know is that ...
0
votes
2answers
364 views
How can I export external content type as a BDCM file with powershell?
I can export external content type from SharePoint Designer or Central Administration. However, I want to export ect as bdcm file with powershell in order to export ect automatically.
There is an ...
1
vote
2answers
22 views
New to Developing SharePoint Web Parts and Features
I recently Developed a really simple web part scoped to site (or at least it's feature is). I also created a feature that up[on activation is suppose to create a new content type.
That's fine and ...
1
vote
1answer
17 views
Add several ListFieldIterators in one Page does not work as expected
I tried to display several ListItems with several ListFieldIterators in my Page, but all the Iterators display just the same Item (the first one added). How can I make them to show the (different) ...
3
votes
2answers
117 views
SharePoint 2013 email templates
I have a SharePoint 2013 instance that I would like to modify the default email template. I want to put my company's logo as a header and the company contact info as a footer on every email that is ...
0
votes
0answers
16 views
Top Navigation Bar listing in SharePoint 2007
I've been trying to figure out how to get a list of the top level sites that are in my Top Navigiation Bar. I want to get the Title and Url for "Subsite Number One, Subsite Number Two, etc.." and ...
0
votes
0answers
25 views
Error in adding post to a blog programmatically
I used linq to insert post into blog programmatically but when i clicked button error is appeared
0
votes
0answers
20 views
The object specified does not belong to a list when publishing a page
I am creating a method to remove all webparts from a publishing page, however at the end in the publish method it throws me this exception
The object specified does not belong to a list.
What am ...
0
votes
1answer
16 views
Possible to implement continuous integration against SharePoint online?
I have implemented CI on SharePoint server projects without a problem (so to speak). Can this also be done for SharePoint online?
0
votes
1answer
826 views
enableSessionState=“true” Done what more to do?
Session state can only be used when enableSessionState is set to true, either in a
configuration file or in the Page directive. Please also make sure that
System.Web.SessionStateModule or a custom ...
2
votes
1answer
334 views
How to update metadata?
I have following code (didn't list the whole code) behind a button on a InfoPath Managed Form. and it works meaning I can submit data to a list. Now I have 2 controls on the form that is ...
0
votes
1answer
17 views
Editing SPFieldMultiColumn and saving updated value
I can get a reference to my SPFieldMultiColumn
var documentLinkFieldValue = listItems[i]["DocumentLink"] as SPFieldMultiColumnValue;
var oField = listItems[i].Fields["Document Link"] as ...
0
votes
2answers
19 views
Could not load file or assembly or one of its dependencies. The system cannot find the file specified
I am really baffled by this issue. I am very new to SP 2010 Development, so Your speak will have to be really dumbed down. But essentially I have this activation method I re-factored - Still ...
1
vote
1answer
655 views
How can I implement SharePoint JSGrid filtering and grouping functionality?
I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid.
For filtering we have to attached ...
0
votes
0answers
16 views
How to add a preloader on sharepoint
I try two days add a Preloader on the sites.
I want to show me when the serwer are opening my webpart.
What schould I do to open a preloader when the server is loading and next my webpart is load ? ...
0
votes
1answer
17 views
Use SharePoint web service to return a People/Group column value
When I call a SharePoint web service in a .Net ASPX website, the people column returns null (Instance of the object not found).
using System;
using System.Collections.Generic;
using System.Linq;
...
1
vote
0answers
39 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
12 views
Preloader on Sharepoint site
I need a preloader for sharepoint site. I tried many preloaders. I used AjaxUpdatePanel but I want another One preloader, to show me when A another user is looged to my webpart, or loading a webpart ...
1
vote
1answer
26 views
Converting date from utc to regional setting (cultural info) of the site
I have a question, basically i have a date time which is by default in UTC, how do i programmatically convert it to a correct date time in regional settings of the site collection / or user?
0
votes
2answers
823 views
Downloading files from sharepoint programmatically C#
I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint
using Microsoft sharepoint library
public void Download(string ...
0
votes
0answers
16 views
Programatically Assign a content type id to 'CreateTaskWithContentType' in SharePoint 2013
I already have a content type created via the UI that inherits 'Task' and added to the 'Tasks' list. as show below:
Via C#, How can I associate this content type id with the ...
0
votes
1answer
27 views
Pass user credentials to JSP website from SharePoint website
I have developed a JSP website. I also have a SharePoint server based website.
Let's call my JSP website to be www.xyzjsp.com and my SharePoint based website to be www.mySPwebsite.com
How can I ...






