Tagged Questions
1
vote
0answers
25 views
Getting a “Content types that are available to this Document Set have been added or removed”
I am creating document sets through workflows. Edit: I just tested and I'm getting this message for manually created documents sets as well. Every new document set is showing the message:
Content ...
0
votes
0answers
14 views
OnWorkflowItemChanged fire multiple times
I have been using a State Machine workflow (SharePoint 2010).
Workflow design
Main State:
The Main State does not update the item.
The Main State contains a OnWorkflowItemChanged.
When the item ...
0
votes
1answer
21 views
Can not open the package designer in visual studio 2010
I can not open the package designer in a SharePoint project.
When I double-click Package or when I right-click Package and then select "View designer" then the XML file Package.package is displayed.
...
0
votes
0answers
78 views
Not all changes apply after re-deploying solution (custom workflow action for SharePoint Designer)
currently I'm creating a custom workflow action for SharePoint Designer 2010. After the first deploy succeeded everything looked fine. But after that I changed several things and re-deployed the ...
0
votes
0answers
75 views
SPUtility.GetLocalizedString not working in feature receiver when deployed from Visual Studio
I use SPUtility.GetLocalizedString in FeatureActivated method of a feature receiver to add a label to a custom action on a specific list instance.
When activating feature from SharePoint or ...
1
vote
3answers
180 views
SharePoint 2010 development with Visual Studio 2012
What is the community recommendation regarding SharePoint 2010 development with Visual Studio 2010 vs. 2012? I am allowed to install 2010 Pro on my new machine or I may choose 2012 Pro. There may not ...
0
votes
1answer
65 views
How to create site collection by using feature?
I am trying to create a feature which creates a site collection using a custom/ootb template in a specified application pool. My question is is this possible if yes then how
what i'm trying to do is ...
1
vote
2answers
84 views
How can the deployment of a feature (or element) be made dependent on the SharePoint version (2010/2013)?
I have a solution (deployed in the Sandbox) that declaratively creates CustomActions (menu items).
It works fine in SharePoint 2010 and 2013, but we don't like the look in 2013 so I'd like to exclude ...
0
votes
1answer
51 views
Not working following code
webtemp file
<?xml version="1.0" encoding="utf-8"?>
<Templates xmlns:ows="Microsoft SharePoint">
<Template Name="MyReed" ID="10001">
<Configuration ID="0" Title="MyReed" ...
1
vote
1answer
261 views
How to deploy SharePoint 2010 Sandbox solution on SharePoint 2013 Office 365
I have developed a SharePoint 2010 Sandbox solution in Visual Studio 2012 which has been deployed on Office 365 SP2010. The solution contains custom lists, visual web parts and workflow activities.
I ...
0
votes
1answer
57 views
Different View for Top-Level folder and folders of a Content Type (programmatically)
I have a Document Library where I add Folders of a specific Content Type. Inside these folders I can upload documents. I would like to have different Views for both. I found a manual solution as ...
1
vote
1answer
135 views
Overriding the Default Upload.apx form for a Document Library
I am a total newbie to SharePoint but I have been given the task of driving the roll out/Proof of Concept that SharePoint 2010 is capable of providing what our company wants.
One of the main ...
0
votes
1answer
60 views
Blog Site in Anonymous Use in SharePoint 2010
Trying to setup anonymous access to a SharePoint 2010 blog following:
http://www.sharepointblues.com/2010/12/22/blog-site-in-anonymous-use/
I am not sure what I am doing wrong but the source code is ...
0
votes
1answer
101 views
Workflow configuration by custom config file
I'm currently researching workflow configuration possibilities delivered by Sharepoint 2010 (I am meaning the Visual Studio development side). The kind of configuration I'm meaning is the one done by ...
0
votes
2answers
65 views
get string from another method after setting it with SelectedIndexChanged event of asp-net dropdown
So I'm creating a contact form for my event management system at the moment.
I've got a Visual Webpart including
private string selectedEmail;
as a variable after declaring my class in code ...
2
votes
0answers
45 views
Importing a list from one visual studio project to another
I have sp project (say project a) in visual studio that is supposed to deploy the sp solution to my website (say that its running at http://localhost:xxxx/).
My goal would be to add the list ...
3
votes
1answer
49 views
Deploying a custom health rule fails on Add Solution
I've created a custom health rule for checking which mode solutions were built in (following this guide) but am having trouble deploying it. When deploying from VS2010, I get
Error occurred in ...
0
votes
1answer
357 views
Adding Javascript function on custom aspx page
I have created custom ASPX page in Visual studio for my SharePoint application. I want to use JavaScript function on this custom page like this:
function ChangeLanguage(value) {
var today = new ...
2
votes
1answer
238 views
Custom Master page is not available under Site Master Page Settings
I have created a Custom Master Page in VS2010 and deploy Project to SharePoint. First I activated site Collection feature "SharePoint Server Publishing Infrastructure" and then i also activated site ...
0
votes
0answers
71 views
SharePoint 2010 Workflow with a set of documents
I'm creating a workflow that starts with a user filling a form. The form contains a number of fields like first name, last name, a choice field with say choices A, B and C.
Depending on the choice, ...
0
votes
0answers
20 views
What would cause a Work Flow to Disappear from the Item's Available Work Flows Page?
I'm developing a workflow that clones an existing item into a new library and then deletes the current item. Everything seems to work fine for a few test runs until at some point I click on the item, ...
2
votes
2answers
2k views
Difference between WebPart & Visual Web Part
I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010.
Thanks!
0
votes
2answers
104 views
Are ID of default fields same for SharePoint installed on different machines?
Are ID of default fields (or SharePoint components) in 14 hive same for SharePoint installed on different machines ?
0
votes
3answers
690 views
ListItem Update from Client Object Model Not Triggering OnWorkflowItemChanged Activity
I am experiencing difficulty creating a file in a document library using the client object model. My custom Visual Studio 2010 workflow is not detecting the updates I am making to the file's list item ...
0
votes
1answer
54 views
Can't reference Microsoft.VisualStudio.SharePoint
I installed the Visual Studio 2010 SDK on my development machine and a tutorial I am following asks me to reference Microsoft.VisualStudio.SharePoint. It is supposed to be under the .NET tab ...
0
votes
1answer
1k views
Failed to load receiver assembly when activate feature
I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error:
C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
2answers
190 views
SharePoint OOTB List and Lookup field problem
I am working in a project with SharePoint Server 2010.
I have the hole project inside a Visual Studio solution (site columns, content types, lists, workflows...)
Everything were working well until I ...
2
votes
1answer
120 views
Using solutions and features in creation/branding of SharePoint websites
I am new to SharePoint website creation and branding and I need your advice.
For my first SharePoint site I have done the following:
1- Created/edited a master page.
2- Added CSS and JavaScript ...
0
votes
3answers
60 views
How is it possible to set a maximum number for items in a list and inform user when he / she reaches the limit?
I know that it is possible to write an event receiver to check the constraint but then how can I show a notification / message to the user?
Thanks for sharing your experience and knowledge.
0
votes
0answers
84 views
Sharepoint Solution showing old server url while debugging in visual studio 2010
I have a SharePoint solution which I developed in a server named HostA, and was deployed in the same server at the url, http://HostA:2100/ASD
Later I moved the entire solution to a new server HostB, ...
0
votes
1answer
229 views
Call to UpdateListItems not updating items?
I have the following code:
XmlNode newItemRes = ceoList.GetListItems("Pages", null, getItem, ndViewFields, null, null, null);
XDocument d = XDocument.Load(new XmlNodeReader(newItemRes));
XNamespace ...
1
vote
1answer
479 views
Getting a file not found error when I try to check in file using web services?
I am using the following code to create a file and then check it in:
//Some other code above. The following line works fine.
createdItem = ceoList.UpdateListItems("Pages", newItem);
//But this line ...
1
vote
2answers
78 views
Check List item end date synchronously
Hi I have one List with End date field.
I want to check synchronously that end date is greater then Today date or not and on that bases add update other list item.
How I done that operation.
Any ...
2
votes
3answers
2k views
How to send an email in a visual studio sequential workflow
I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status.
I have not found any good ...
1
vote
2answers
135 views
Reading contents inside PDF file
How can i traverse the contents present inside PDF file. Suppose i have PDF documents inside a document library and I need to read contents inside PDF file to know the type of PDF file whether its a ...
1
vote
0answers
299 views
How do I create a lookup field for a hyperlink field and display the URL?
Ok, so there are a zillion posts related to and circling around this question, but that do not actually answer it to my satisfaction.
I have a regular, out of the box, list of type "Links". I have ...
0
votes
1answer
293 views
Modify the content of the home page programmatically in SharePoint 2010
First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :)
I have a team-site in SharePoint with ...
0
votes
1answer
430 views
File Not Found Error When Programmatically Uploading File on Server
I created a web application for uploading files and associated metadata. When I test the solution on my laptop, it works without a problem (file gets uploaded and metadata is saved). When I try the ...
0
votes
2answers
214 views
Sharepoint 2010 workflows created in Visual studio deployment and redeployment strategies?
We need help from experts regarding workflows deployment strategies.
We have several state machine workflows created using VS-2010, now after deployment, Client will ask for changes inside it e.g. ...
1
vote
1answer
256 views
Which SharePoint web service would I use to upload an image from <input type=“file”… />?
The copy service seems to want to take an item from one source url to another. I looked in the list service but nothing jumped out at me as an option. Can someone point me in the right direction?
1
vote
0answers
294 views
Restart an errored workflow programmatically
I am trying to figure out the best way to restart an errored out workflow.
A little background:
We get seemingly random error-outs (error and stack below) in a visual studio created workflow when ...
1
vote
0answers
123 views
Use Secure Store Credentials to connect to database with Windows Authentication in Visual Studio solution?
Background: I have an external content type that has been developed in a Visual Studio 2010 solution. This content type is based mostly off elements in a database that are accessed via stored ...
0
votes
0answers
62 views
How to use updateAllTasks in a custom workflow
I am making a custom workflow in Visual Studio. I want to use the updateAllTasks workflow item to update all the tasks. I am trying the following in the invoke method.
...
1
vote
1answer
211 views
Same custom column name in 2 different solutions, 2 different ID guids, yet I get a “Duplicate field 'x' was found” error
So I have two completely different solutions, I'll call them solutionA.wsp and solutionB.wsp and they are being deployed to the same site
Both of them contain a site column definition for a column ...
1
vote
1answer
126 views
How to add web application (project from Visual Basic 2010) to Sharepoint Foundation
I would like to ask, how I can add web application (this is Visual Basic project) to my site collection in Sharepoit Foundation? Can I do this without create web part? If no or yes please tell me how ...
0
votes
0answers
71 views
Get the activation properties of a workflow from a page external to the workflow
I'm trying to get the activation properties you bind on the activity OnWorkflowActivated in an aspx page which doesn't belong to the workflow.
It looks like I'm able to get to the workflow this way
...
2
votes
1answer
2k views
Create reports from SharePoint lists
We currently have SharePoint 2010 Standard with SQL Server 2008 R2 Enterprise, and Visual Studio 2010 Ultimate for development. As I understand it, to be able to create reports from SharePoint lists I ...
0
votes
1answer
147 views
Code behind for Infopath Initiation/Association Form
Is it possible to have a c# file act as a code behind file for an infopath form? Just like you do for forms in aspx.
Especially I would like to be able to execute code on page_load for an infopath ...
1
vote
1answer
319 views
Feature Stapling and Inheritance in My Site/My Content
I have a SP 2010 Enterprise/VS 2010 workstation. I have built and deployed a custom master/CSS/asset library for a standard My Site deployment as a feature and modules. The master deploys and ...
2
votes
1answer
1k views
Steps to convert application page to web part page from Visual Studio 2010?
I added an application page to my module and now I want to covert it to a web part page. In the code behind I changed the inheritance to WebPartPage.
using System;
using Microsoft.SharePoint;
using ...