Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
14 views

How do I set the Default Value of a TextBox ToolPart without using [DefaultValue(“Default Value”)]

Right now I have created a bunch of custom controls in the ToolPart panel and I want to set a default value for one of the text boxes. Obviously I want the value to be editable by the user. I have ...
2
votes
2answers
49 views

Programming without being at the SharePoint Server

From my understanding, if one need to use Visual Studio to do some programming (be it C# or VB) on the SharePoint Server, one need to be at the Server that have Visual Studio, SharePoint Server and ...
1
vote
0answers
21 views

Using an imported list template's (build in SP designer) xml as the basis for a new list definition in VS

I'm a SP 2010 beginner (although a long time ASP.NET developer) and I thought a good learning exercise would be to: Create a list template in SP Designer Import that list into VS 2010 Create a new ...
1
vote
1answer
41 views

Sharepoint 2010 event reciever item adding

is it possible to retrieve the "Modified" date column in item adding event reciever?
1
vote
2answers
79 views

Custom EditorPart - Make it look like regular category Appearance, Layout

I am creating a Custom EditorPart in VS 2010 and have it all working as I would like. The only issue I want to fix is that I want the custom parts to look like the Appearance and Layout sections. I ...
0
votes
0answers
22 views

Error Deploying Event Reciever on a specific custom list fails when scope“web”

I have an event receiver, when i deploy it to the site(sitecollection) it works perfectly fine..but when i change its scope to web (website) Error occurred in deployment step 'Activate Features': ...
1
vote
2answers
30 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 ...
-1
votes
0answers
14 views

Content Controls - hiding text [migrated]

I love this Form Developer in Word 2010 and have been making fillable forms but how do I hide the "choose an item" text if I want the form to be printed and filled out manually so it looks clean and ...
0
votes
3answers
35 views

How do I create a sequential workflow in visual studio to update a list column?

I have list in SharePoint with a field that I want to auto-populate based on values of other fields in the row. I would normally use a calculated field but the calculated field doesn't have ...
2
votes
1answer
24 views

How do I create Upgrade actions in the Feature.xml file using Visual Studio?

We have a solution in Visual Studio 2010 for a SharePoint 2010 application that is currently in Production (version 1.0.0.0). I am making some changes to the solution to be deployed as version ...
0
votes
1answer
28 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
vote
1answer
23 views

How do I set the property for a custom field type that I am using in my custom list definition?

I have a list definition that will have a title, description, and a few picture fields. Each entry in the list will represent a project. I do not like to use the SharePoint hyperlink/picture field ...
1
vote
3answers
32 views

Not receiving e-email notification when creating new tasks in a custom sequential workflow

I am setting the AssignedTo and SendEmailNotification properties for the SPWorkflowTaskProperties object, the task gets created and assigned correctly but no email is received. How can I check if ...
-1
votes
3answers
42 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 ...
0
votes
3answers
52 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
40 views

Workflow for CustomList

I'm creating a Sequential Workflow on a CustomList in viualstudio 2010. My problem is: when I publish the workflow, the list forms (for NewItem, EditItem and so on) get changed and now just contain ...
8
votes
3answers
99 views

Are there any tweaks, tips to make debugging SharePoint 2010 faster?

I am using Visual Studio 2010 Ultimate and SharePoint 2010. The debugging process itself is okay but the startup takes really long. Are there any options or hidden-hints to make this faster? Edit: ...
0
votes
1answer
37 views

How to deploy an aspx to subsite from VS 2010

Is there any chance to achieve this? The sharepoint project and the silverlight web part, which is called by the aspx, are linked by this template. I played with module and feature xml files but i ...
0
votes
0answers
17 views

Custom field type - how inherit attributes from base field type

I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note). I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
0
votes
1answer
16 views

Developing Webservices to for a sharepoint site without visual studio on the server

We are developing a ipad application for a client for managing the workflows of sharepoint site. On the middleware i need to develop a .net webservice which will fetch the Tasks details from the ...
0
votes
0answers
30 views

update content types and all lists/library using this content type

We are using SP2010 and have many content types and are using Content Type Hub for publishing these content types to site collections. These content types are being used in tens of Site collections ...
0
votes
1answer
33 views

Right Management

I'm planing a sharepoint application. One part of the solution should be a list. Each list item should have two persons who are allowed to make changes on it (plus two Administratorgroups). The ...
1
vote
1answer
58 views

Create Subsite Time out

I am trying to create a custom workflow activity to create a subsite as a sandboxed solution. I know the site creation works, but the workflow throws a time out error (the site creation finishes after ...
1
vote
1answer
34 views

Why Is My Content Type Replaced With a List Instance Detail When I Deploy My Project in Visual Studio, but Not When I Deploy it Manually?

I'm doing something that I think is pretty typical. I've created a content type, descended from Document, to go into a document library, like so: <?xml version="1.0" encoding="utf-8"?> ...
1
vote
1answer
58 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
81 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 ...
0
votes
2answers
25 views

How can i buildi multiple VisualWebparts using VS 2010

Can i create/build multiple Visual webparts in Visual Studio 2010? If yes i do i set up the strcuture? `Will it have seprate feature or does it come under 1 feature? Thanks in advance
1
vote
0answers
27 views

How to create a lookup field that has a list column picker

How would I be able to create a list field in VS that would be a lookup to select columns from any list? I would preferably like to have something like the PickerTreeView.aspx, but instead of ...
1
vote
2answers
32 views

Added a new PageLayout to my feature but it's not showing in SharePoint?

I had an existing feature that deployed a Page Layout. I ended up adding another Page Layout to the feature and I updated my Elements.xml file to include the reference to the new file: <File ...
0
votes
0answers
29 views

How should a SP solution with web parts+wcf+entity framework+console app look like in VS2010?

Say we have a project with SharePoint Visual Web parts + other UI features. These UI components get data from WCF services (pretty much dedicated to this solution). The WCF services get data from ...
1
vote
1answer
42 views

How to resolve “A duplicate contenet type name…” error for project with custom content types?

I have a project that I have been using to deploy a custom content type. Recently i decided that I needed another content type that would inherit from the original one. I created a new element file, ...
0
votes
1answer
23 views

Windows 2008 R2 OS 64 bit + MOSS 64 bit SP2 + VS2010 = System.BadImageFormatException

I am running Visual studio 2010 on OS 64 bit and one of my asp.net web service application that sharepoint code throwing an error. Exception Details: System.BadImageFormatException: Could not load ...
1
vote
1answer
30 views

Build and package SharePoint2010 solution from PowerShell?

Are there any scripts to build and package a SharePoint2010 solution from directly from PowerShell, instead from Visual Studio 2010?
1
vote
4answers
103 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
69 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 ...
1
vote
1answer
50 views

The referenced file '/_Layouts/Website/Master Pages/Default.master' is not allowed on this page

I get the following error when I hit the home page for the site collection where I just deployed my feature with web application scope: The referenced file '/_Layouts/Website/Master ...
0
votes
1answer
38 views

Render a page during a custom sequential workflow

I am trying to build a sequential workflow on VS2010 that at some point gets the necessary javascript code to render a page. Let's assume the javascript is : <script type="text/javascript"> ...
4
votes
2answers
120 views

How to read a column type SPUser, DateTime, Currency with EcmaScript?

I have a list in SharePoint 2010 with some columns. All are default types. So I have "Single line of text" "Multiple line of text" "Date and Time" "Choice" "Number" "Currency" "Person or Group" ...
0
votes
1answer
56 views

Custom Form in Visual Studio and Approval workflow

I have developed a form in Visual Studio 2010 professional as Visual WebPart in which I have the following fields and for the same I have created a LIST with the same columns. Employee ID Employee ...
0
votes
1answer
26 views

How can update data associated in a row on KeyPress in a SPGridView?

This should be pretty easy but I can't find it anywhere. Scenario: DataTable associated to an SPGridView. Every row of the SPGridView is editable and it shows boxes on some of the columns. I put an ...
1
vote
3answers
31 views

How to change default VisualWebPart name

I am new to SharePoint 2010 development and just created a VisualWebPart in Visual Studio 2010 but it added the webpart as "VisualWebPart1". How do I change the default name of it and make it ...
0
votes
2answers
56 views

Event reciever (itemadded) sharepoint 2010

is there a way where we can get the link(editform.aspx) of item just added to the list-- in the itemadded method of the event receiver (Share Point object model)
0
votes
1answer
78 views

Event Reciever run with elevated previledges

I created one event receiver and deployed it, but only users who are site collection admins are able to view this web part. I have included the SPSecurity.RunWithElevatedPrivileges but the same thing. ...
2
votes
2answers
99 views

Event Reciever on specific list in SharePoint 2010 working in dev environment but not in production

I have created an event receiver (on item adding) using VS2010 in SharePoint 2010 targeted to specific custom list which is a globally deployed in the production environment. This event receiver ...
0
votes
2answers
45 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. ...
0
votes
0answers
15 views

Adding a workflow created in VS2010 to production server

I've developed a SP2007 workflow on my test computer using VS2010. When I deploy I use the Build tab and it then deploys to my test computer. In the project properies I can see my Target Site, Target ...
1
vote
1answer
42 views

Retrieving the values from the list view SharePoint 2010 using object model

I have a list (tick_gen) which has a view called "tick_dView" this view just has one row. How can I fetch the value of "Tick_id" column using SharePoint object model?
3
votes
2answers
48 views

Visual studio retracts and reinstalls my features, can I tell it to just update?

It appears Visual Studio 2010's out of the box functionality for Deploy retracts and installs my features. Can I tell it instead to perform an update-spsolution instead of removing the entire thing? ...
0
votes
2answers
50 views

Getting the value from the dropdownbox Event Reciever sharepoint 2010

I have an event reciever for item adding. I'm using: dropdwnvalue = web.Lists[properties.ListId].Fields["Names"].InternalName; string selectedValue = ...
2
votes
1answer
35 views

How to implement a custom auto-increment id on a yearly basis

I am trying to create a functionality for a list where all entries get a custom ID. The IDs are going to have the following formats List1 Year-1 Year-2 Year-n List2 Year-1.1 Year-1.2 Year-1.n ...

1 2 3 4 5 7