0
votes
1answer
33 views

Visual studio 2012 cannot find SharePoint Server 2013

I have installed SharePoint server 2013 on my dev machine and it is working fine when I login as an administrator. and after that I installed Visual studio 2012 professional on the same machine. But ...
0
votes
0answers
35 views

I can not see Custom Ribbion that created from following code

I have created custom action to view on webpart page but i can not see it. <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyRibbonCustomization" ...
0
votes
2answers
34 views

I want to execute workflow when new item is inserted

private void codeActivity1_ExecuteCode(object sender, EventArgs e) { SPSite objsite = SPContext.Current.Site; using (SPWeb objWeb = SPContext.Current.Web) { ...
1
vote
1answer
29 views

Webservice consuming SP WebService - Authentication

Our SharePoint site is not accessible from outside. So I am working on a WebService (not hosted in SP) that will consume SP WebService (ListData Wcf). It's a kind of wrapper. Anonymous access are not ...
0
votes
2answers
63 views

Error occurred in deployment step 'Activate Features': Access is denied

I build SP 2010 project through VS 2010. On deploying through visual studio, I get following error: Error occurred in deployment step 'Activate Features': Access is denied. Any idea, what's wrong ?? ...
0
votes
1answer
212 views

Filling in the predefined Word Document Template from SharePoint Site

I have a requirement which asks for filling the details into a word doc with a predefined template from SharePoint site and then the word doc should be automatically saved when clicked on saved ...
1
vote
1answer
147 views

need to display image of the user in the people picker, Sharepoint 2013?

In the people picker, the attributes it shows are name,designation and their online or offline status, Is it possible to display the image of the person?
0
votes
1answer
106 views

how to make picture library in site definition?

If anyone knows I want to know how to make picture library in site definition? Thanks in advance.
0
votes
1answer
43 views

Difference between debug & release?

Can anyone tell me the difference between debug & release.Used in sharepoint 2010.
-1
votes
3answers
138 views

How to make list & subsites in one sitedefinition?

I want to make 3 lists in root site & 2 subsites under the root site. As soon as I create subsites from portal.xml my 3 lists are not showing.
4
votes
1answer
99 views

Is VS 2010 needed to build a SharePoint 2010 project in Powershell?

Can you build a SharePoint Project without Visual Studio 2010/2012 being installed on the machine you are trying build it on using PowerShell? I have a PowerShell script the is working great. It ...
0
votes
2answers
72 views

The type or namespace name 'MyFeature.Class' could not be found in global namespace

Here is what i have been struggling with. I am replacing the OOTB SharePoint 2010 People Picker Control with a custom People Picker. There are 2 projects in my Solution. One that adds an application ...
1
vote
1answer
65 views

SharePoint Site collection

I have custom list(created using VS) where I need to add a new column. But in my site collection i got the data from restoring site collection in which new column information will not be there. Now my ...
2
votes
2answers
348 views

How to set visual webparts to load one after - another sharepoint 2010

I have a webpart page which have 2 custom visual webparts. When i set the debugger point on both the page loads of the webpart the 2nd visual webpart debugger is hit...that makes me think the 2nd ...
1
vote
0answers
26 views

Getting suggestion for people on typing in textbox

I want to build a technique in which if users start typing some name into textbox, then they should be able to get suggestion for matching people's name as drop down list. The names are assumed to be ...
0
votes
0answers
77 views

Deployed solution using stsadm commands..But it is not working

I have a differnt issue, that i was deployed the solution using stsadm commands. feature is showing site collection solutions and it is activated. But the functionality for the solution is not ...
2
votes
2answers
228 views

SharePoint 2010 - Visual Studio Project Structure

What are your project structures for sharepoint projects. For example my simple structure is: Think of a project named MyPortal MyPortal.sln --MyPortal.Branding (Custom master pages, page layouts, ...
2
votes
1answer
77 views

Feature with List and registration form

I am new to SharePoint and want to discuss an issue I want to create a feature that will create custom application page (registration form) and a custom list to store registration form's data. I can ...
0
votes
0answers
251 views

How Sharepoint pages life cycle works?

I built a HttpModule for sharepoint. But when I begin to debug the page request, I notice that the debugging has an strange cycle: 1 - context_PreRequestHandlerExecute() 2- page_PreInit() 3 - ...
1
vote
3answers
4k views

How to add .aspx page in sharepoint 2010 project with visual studio 2012?

I went through following links: http://www.codeproject.com/Tips/312544/How-To-Add-Custom-ASP-NET-Page-Using-Layouts-Folde ...
1
vote
3answers
97 views

How can I debug sharepoint app attaching to IIS?

I built a HTTP Module, insert the DLL into the GAC, changed the webConfig Now , if on visual studio , I Attach to process W3WP , Open the web page where the module must work, I notice that ...
1
vote
2answers
532 views

How to programmatically create editable wiki pages within the Pages library of an Enterprise Wiki site

I'm new to SharePoint. I'm trying to programmatically create a wiki page within the Pages library of an Enterprise Wiki site in SharePoint 2010. Here is my code: using (SPSite site = new ...
0
votes
0answers
53 views

Auto-generated code for “Using”, “SQLConnection”, “ReadItem”, “ReadList” methods

I am beginner in SharePoint 2010 development. and doing following lab: Module 6: Accessing external data with Business Connectivity Services in SharePoint 2010 ...
0
votes
2answers
140 views

Opening a custom webpart created in 2005 in visual studio 2010

We are migrating moss 2007 site to SharePoint 2010. I am faced with a challenge with manual migrating a custom webpart from Moss 2007 to SharePoint 2010. When i open the webpart created in visual ...
0
votes
1answer
262 views

How to create a new FBA user programatically using VS 2010?

I am looking to create a new FBA user (explicitly) in the membership db using the membershipuser create user programatically. The purpose is to test permissions using the spfarm account. What is ...
0
votes
1answer
1k views

can't deploy from VS2010 to Sharepoint 2010

I have run VS 2010 as an administrator The user, which is running VS2010, have db_owner rights to the config, content, and central admin DBs of SP2010. In my hostfile i have 127.0.0.1 ...
1
vote
2answers
965 views

Cannot add the specified assembly to the global assembly cache: log4net.dll.

I have a project that reference log4net. In the package I have specified that the assembly should be deployed to the GAC. When I try to deploy the application from VS2010 I get the following error: ...
0
votes
2answers
125 views

Is it possible to modify master pages and web parts from a .wsp file?

Is it possible to extract the various projects from a wsp file to work on say the masterpages, web parts and other custom user controls just like I would in Visual Studio 2010?
3
votes
3answers
596 views

Update Feature automatically

I have developed an update for a SharePoint 2010 solution. This update defines some upgrades for some of the included features (the upgrade are managed via the new FeatureUpgraded receiver event). I ...
1
vote
1answer
197 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
0
votes
1answer
1k views

Implement custom sharepoint workflow with aspx page instead of infopath

I am creating state machine workflow in visual studio 2010 and info path form (for approval etc.) is associated with the generated task. But i need to associate aspx form instead of infopath with the ...
0
votes
1answer
175 views

User Role And Permission

I am facing a problem regarding user role and permission while working on sharepoint 2010. Basically I need to show list items in which login user department match with list item department. I am ...
0
votes
1answer
875 views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
2answers
237 views

Modify an existing item based on ID

The following code is what is I use to insert new list items: using (SPSite oSPsite = SPContext.Current.Site) ' using (SPWeb oSPWeb = oSPsite.OpenWeb()) ' SPList list = ...
0
votes
1answer
490 views

“LinkTitle” column from event list dose not render when added to a repeater control?

I have the following code to render the event Titles (the LinkTitle Column) in a custom web part: <asp:Label ID="Title" runat="server" CssClass="titleStyle" ...
0
votes
1answer
234 views

How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.

I am creating a visual web part to display the calendar events in the form of an events list with custom css. The web part will be on the home page of my site. Here is what I have right now and it is ...
1
vote
3answers
931 views

The <today/> tag not working in my CAML Query?

I am trying to retrieve the 5 most upcoming (with respect to expiry date) announcement list item "Title's".The query partly works but what it fails to do is include and display todays announcements as ...
0
votes
2answers
1k views

Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part

I have a requirement to build a Event web part that shows the 5 most upcoming events and a see all link (that links to the OOTB calendar view). Here is a graphical representation: How exaclty do I ...
0
votes
1answer
425 views

Rendering IMAGES (attached to announcement list) in my custom web part?

Please bear with me as I am brand new to the whole sharepoint world. I want to be able to display images that have been attached to OOTB announcement list in a custom visual web part I am trying to ...
1
vote
2answers
996 views

SPCalendarView control, same events are displayed each month in a VisualWebPart UserControl.ascx.cs file

I am creating a custom SharePoint Calendar to pull from multiple SharePoint Calendar Lists. In the markup I have the following: <SharePoint:SPCalendarView ID="EventsCalendar2" width="100%" ...
1
vote
1answer
227 views

Sharepoint 2010 event reciever item adding

is it possible to retrieve the "Modified" date column in item adding event reciever?
2
votes
2answers
262 views

Requiring Event Receiver while creating new item

I have an event receiver(item adding,item added)..on a custom list..this event receiver creates an ID when a new item is created..so when i deactivate the event receiver and add a new item to the list ...
0
votes
1answer
588 views

attachment functionality with the custom webpart in sharepoint 2010

i want to implement a attachment functionality in a custom webpart, which functions that same way as it does in sharepoint OOB,...any suggestions?
-1
votes
3answers
171 views

get first 50 characters from richtextboxA to richtextboxB or textbox using visual webpart sharepoint 2010

I want to copy only first 5o characters from the richtextboxA to either a textbox or richtextboxB.... in a visual webpart ..the richtextboxA can have images,tables formating,html, blank spaces.. if it ...
1
vote
3answers
1k views

Delpoying farm solution (Application Page) sharepoint 2010 --Access denied

I am deploying an application page (globally), I have a button on the editform.aspx. When a user clicks on the button, it redirects to the application page in a new window but I am getting an error ...
1
vote
1answer
495 views

Event Reciever Sharepoint 2010(when the calling fails)

I am working on a share-point 2010 custom list event receiver(item adding, item updating,item added), once in a while i will notice that when i create a new item, it seems like the event receiver wont ...
0
votes
4answers
2k views

Event Reciever Custom Error Message Page Sharepoint List 2010

I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing ...
2
votes
4answers
3k views

Item added or item edited Sharepoint 2010 event receiver

I am working on Sharepoint list form with 10 fields. The first time when I add the new item I fill in 8 values and id is generated. Next time I edit the form I fill in the one of the two remaining ...
0
votes
0answers
567 views

Unable to debug in an event receiver sharepoint 2010

When i debug in the event reciever(item adding) as soon as it reached the if condition i get the following error unable to automatically step into the server.The remote procedure could not be ...
0
votes
2answers
354 views

Deploying Event Reciever on the production environment

I want to deploy the event receiver created in SharePoint 2010 to the production environment. This is a farm solution, but I have a question regarding the deployment in the production environment. ...

1 2