Tagged Questions
2
votes
1answer
19 views
Nav showing drop down subsites when on _layouts/settings.aspx
In both of my custom master pages (both front master page and system master page) I have a navigation control (AspMenu).
On all custom pages and application pages, the nav displays no drop down for ...
0
votes
2answers
28 views
Can I programatically move sites or content between 2007 and 2010?
Using the SharePoint Object Model on a SharePoint 2007 environment and the remote object model to talk to a SharePoint 2010 environment would it theoretically be possible to migrate sites or content ...
0
votes
1answer
33 views
Auto-compress images when uploaded to Image Library
I have a need to auto compress images as they are uploaded to an image library. Using code or otherwise how could I go about this? I don't want to specify a fixed height / width but would rather ...
0
votes
1answer
15 views
Select powerpoint slides and then build a presentation from it
I have a business unit that would like a document library that displays a series of pre-approved company Powerpoint slides. The user would then select the slides that want, click a button and a ...
1
vote
2answers
44 views
Listdata.svc via REST refuses to return data
I'm trying to pull down some list data from listdata.svc using the standard method as documented in the msdn:
var listUrl = 'http://development.contoso.com/_vti_bin/ListData.svc/Contacts';
$.ajax({
...
0
votes
0answers
28 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 ...
1
vote
2answers
77 views
How to implement HTML5 Video in Sharepoint 2010?
Has anyone had any success in building a web-part with HTML5 video and using it in SP 2010?
Background:
Currently I am using JWPlayer by imbedding an HTML page using a content editor web-part.
I ...
1
vote
1answer
38 views
Client Object Model - Select distinct
I am using ClientObjectModel (C#) to retreive data from a custom list, which is structured like this:
What i need is some kind of "select distinct" which retreives only the categories, without ...
0
votes
1answer
51 views
Possible to add XSLT to CQWP through UI?
Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them.
I'm now wanting to allow users to ...
0
votes
2answers
59 views
Hide Columns in Document Information Panel, but show in properties panel
I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
0
votes
1answer
17 views
Package not deploying everything in it to server
I have a package solution as,
<Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="id" SharePointProductVersion="14.0">
<Assemblies>
<Assembly ...
0
votes
1answer
22 views
Custom form with link to document
I have a custom form. In it I need to add a link to a document library. I need that this links works in the same way as a link in a document library (i.e. - when you click on it you have the option to ...
0
votes
1answer
52 views
Modifying List View in C# Doesn't Work?
I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
0
votes
0answers
23 views
PageRequestManagerServerErrorException
I am working on custom web part on SP2010 using C#. I sometimes the following javascript error on console while submitting the form from UpdatePanel button using postBack:
SCRIPT5022: ...
2
votes
0answers
123 views
What are the current options for a Sharepoint Online trial from Windows XP?
A year ago I had 30-day trial for Office 365 (Sharepoint Online 2010). Everything worked fine from my Windows XP SP3 (x86. 32-bit) for development from Infopath Developer and Sharepoint Designer ...
9
votes
2answers
172 views
“Best Practices” for SharePoint customizations/development to easily migrate to new SharePoint versions
Do you know of any documents that describe “best practices” for SharePoint customizations (especially custom developments) in order for these customizations/code (for example web parts, event ...
0
votes
1answer
91 views
Appropriate List permissions and read/write using visual webpart
I am learning SharePoint and just learned how to develop Visual Webparts and read data through CAML and write data also. I have a portal where I have one site collection and under that site collection ...
0
votes
1answer
94 views
GAC and Signing assembly with strong name
I am following someone's tutorial like the following
http://ranaictiu-technicalblog.blogspot.com/2009/11/sharepoint-create-custom-web-service.html
Here are the steps i need to follow
Create a ...
0
votes
0answers
42 views
Documentation for SharePoint 2010 OOTB web controls
Often I have a needs to provide different customizations to list, libraries, webs via custom action, which opens custom application page (in modal dialog). I place on page controls to provide UI.
In ...
1
vote
2answers
105 views
Can a sandboxed WebPart access SPWeb.AllProperties
Well, subject says it all. Although MSDN has plenty of info what classes are accessible in a sandboxed solution I just couldn't find the info if I can read or write to SPWeb.AllProperties.
Basically ...
2
votes
3answers
163 views
Simultaneous development environment for SP2010 and SP2013 in single OS
I have on my laptop a development environment as win7 with std IIS, SharePoint 2010 Server, SQL 2008 R2 and Visual Studio 2010. I already installed Visual Studio 2012 side by side. But what about ...
0
votes
1answer
161 views
Programmatically add new fetched properties to webpart
I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me.
So here ...
6
votes
3answers
232 views
“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?
I'm talking about this blog post by Chris Woodill.
He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists:
Primary And foreign keys: one of the most ...
3
votes
1answer
145 views
Is it possible to prevent SharePoint 2010 from creating a folder structure when users upload files?
I have a wiki library with pages and a document library which I've configured to be an assets library. How do I prevent sharepoint from creating a directory structure for file uploads?
The wiki pages ...
1
vote
1answer
294 views
Sort by modified date in custom search core results webpart
I have created a custom search results web part which implements some simple sorting, for example i have this piece of code which allows me to sort it desc/asc by title:
CoreResultsDatasource ...
1
vote
0answers
41 views
Send Log/Debug Messages to SharePoint from a clientside ActiveX Component
I developed a ActiveX Component (C#) for SharePoint 2010 and would like to send log/debug messages to the SP-Server so that they are viewable in the SharePoint LOGS Folder. How am I doing this?
Like ...
2
votes
1answer
142 views
How is better to create content with XML or Programmatically
I have a project in SP2010 in which i need:
to create some custom content-types
to create custom lists based on this content types.
to add custom actions in lists (list level actions). Two lists ...
0
votes
1answer
53 views
Where To Start Learning SP 2013 For SP 2010 Developers
What are your ideas for beginning to learn(upgrade) to SP 2013 development?
0
votes
1answer
35 views
Reorder of newform and editform its different
I have a list which editform and newform fields order is different, the question is why? somebody told me the edit form might be unghosted, if so, how can I confirm this and revert it so that it uses ...
0
votes
1answer
57 views
Rate Control overlaps with Menu items
On my sharepoint page i have Menu on the top and a sharepoint rating control on the top right side. The onHover event of menu displays a list menu items.
The rate control is added to the layout which ...
0
votes
0answers
28 views
Scheduled File Plan Report
SP2010 Enterprise, 2008R2
What would be the best or easiest way to automatically run a file plan report for a specific library on a scheduled basis? Is there a way to do it with a c# app that I could ...
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
2answers
179 views
List Item “value does not fall within the expected range” error--strange behavior
I am getting the error on the following line for a timer job:
if (listItem["Department"] != null)
Normally this error indicates that it cannot find the field, but there are no spaces and the field ...
0
votes
2answers
97 views
Fixing programmatic alert URLs
Environment: SP2010 Enterprise, SQL2008R2, VS2012, full server access
A while ago I created a massive amount of alerts using a c# console app I made in VS. The app ran on the server using SP ...
1
vote
1answer
47 views
Content DB not getting any permissions on web application created through central admin
I tried to create a Web Application using Central Admin. It created web app without displaying any error, I can browse site too after creating site collection and that, but content db got no ...
1
vote
2answers
191 views
Modification to welcome menu
I have a question regardint the top menu, where you have basically welcome menu, then you have there some other links and at the end "site settings" menu. And there for i have 2 questions:
1) How can ...
2
votes
1answer
109 views
SPListCollection.EnsureSitePagesLibrary() throwing SPException (specified title already exists in this Web site)
I am attempting to call SPListCollection.EnsureSitePagesLibrary() upon FeatureActivated. The method is throwing the following exception:
Microsoft.SharePoint.SPException: A list, survey, ...
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 ...
0
votes
1answer
1k views
Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object
i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error.
i have check on ULS Viewer. error ...
2
votes
1answer
256 views
Send emails to multiple recipients via contactform webpart
Happy new year everyone,
so I'm creating a contact form webpart for my event management system at the moment which has a checkbox "send to all attendees". I'm using the SPUtility.SendEmail method to ...
0
votes
2answers
327 views
How to get a list of events from a Sharepoint calendar that are 1 day from now?
I've been trying to get all events that are today as a test, I haven't been able to do that either. So far I've set an event for today (an all day event so times don't matter) and executed this query:
...
3
votes
1answer
833 views
What text type are multi line text columns in SharePoint lists?
When accessing a multi line text field from a SharePoint item in a list, what is the text type returned?
Using C#:
item["Description"].ToString()
Is the above plaintext or html or...?
I want to ...
2
votes
1answer
122 views
Convert incoming email from plain text to HTML
I have a list that accepts emails and creates list items out of them.
The issue I'm facing is that if someone emails the list using plain text, the formatting showing up in a list item's multi-line ...
2
votes
1answer
139 views
Use count-related column value as int in a SP Designer-workflow
I have another problem concerning the count-related column-value of SP2010 in a workflow(see also: How to get count related Lookup value programmatically? ).
my use-case: I have a column "actual ...
1
vote
0answers
57 views
Best way to create a Drafts List and save and Load entries from another list?
So, I have a Custom List named "Events". Now I'm searching for a best practice to create "drafts" for the list items of the list, because there might be some events (monthly/ annually) which have ...
4
votes
1answer
73 views
Add a Three-State Workflow by Code?
I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code.
This is what I need:
Add a ...
1
vote
2answers
100 views
SharePoint 2010 Modal Dialog body color
I have a link which opens my visual webpart inside Modal Dialog. I need to change the background color of Modal Dialog content area..dont want to make change in my custom css which is overiding ...
0
votes
1answer
362 views
Can I store a date in a (Sharepoint Designer) workflow-variable?
So... I want to create a workflow to send a reminder-email 7 days before a date specified in a column of a custom list. So far so good, I have very little experience with workflows (created only one ...
1
vote
2answers
529 views
Show User List (GridView?) on Button Click in new Popup
Hi there and thanks in advance :)
So, my use-case is:
I have a visual webpart on top of the DispForm.aspx of a custom list for events.
I have another List called "Attendee List" where attendees are ...
2
votes
1answer
255 views
Show asp.net webpart elements based on user permission level?
I want to do the following:
I have a webpart and two users (not in groups, though, because for a reason I don't understand there are no groups in the productive environment here ;) ).
One stands ...


