The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
3
votes
1answer
741 views
Can the zoom/scale on JS Grid conrol in gantt mode be changed?
I have created a webpart with a JS Grid control with gantt enabled.
I want the gantt view to display months instead of weekdays.
Anyone have an idea how to do this?
Update:
The following link is what ...
3
votes
4answers
532 views
Add a Web Part Zone to “My Newsfeed” Page via PowerShell
I've done a fair amount of looking into this idea without promising leads.
Let me define my problem:
I need to add a third column (as a Web Part Zone) to the "My Newsfeed" page in My Sites. The ...
3
votes
2answers
393 views
Generate file then close SharePoint dialog page
I have a custom solution where I open a SP Dialog box through Javascript. From this dialog, I want to generate a file and sent it to the user when he is clicking on a button, than close the dialog.
...
3
votes
2answers
3k views
Can't access the user profiles in a console application
I want to make some manipulation with the user profiles from a console application.
I'm trying to enumerate the profiles, with no success :
var mysite = "http://my";
...
3
votes
1answer
406 views
SharePoint 2010 Save ListItem without closing
Is it possible to save a ListItem without closing the modal dialog in SharePoint 2010? Possibly by replacing the save button on the Ribbon with a custom button that calls the submit function and keeps ...
3
votes
1answer
293 views
Set a date/lookup in ListInstance elements.xml
I have two lists. The first one has customers and the second one has Orders. Now i want to add some (test) data in the elements.xml of the listinstances. For customers this works without a problem
...
3
votes
1answer
2k views
How do I save files that are larger than 1MB using the Client Object Model?
I'm trying to save a file to an SP document library using the Client Object Model:
//populate information about the new file, from disk
FileCreationInformation fci = new FileCreationInformation();
...
3
votes
1answer
397 views
SP2010 Using SPLongOperation in Dialog Boxes
I would like to have the following behavior.
After clicking the submit button in a custom layout page, a dialog box opens showing the SPLongOperation page. After the operation is done my custom ...
3
votes
2answers
590 views
How do I list what workflow tasks are pending for a specific user programmatically?
I'm trying to write an application page that will list the pending workflow tasks for the logged-in user. Is there an object in the SharePoint model I can query to give me a list of the pending tasks ...
3
votes
1answer
162 views
Can you use Content By Query to retrieve items from it's parents?
I know you can use the Content By Query component to retrieve items under the current site, however, I want to do the opposite.
I'd like to look for items in the parent sites of the current site. I ...
3
votes
3answers
682 views
How to bulk import User Profiles from a legacy system and pre-create MySites
I need suggestions how to accomplish one upgrade task.
I have list of user accounts in .csv file which I need to import to SP2010 and create user accounts with appropriate attributes. Also this ...
3
votes
2answers
461 views
Sharepoint 2010 MdalDialog title [duplicate]
Possible Duplicate:
Sharepoint 2010 ModalDialog title
Hi,
I am creating a popup window in sharepoint using this code in javascript.
function openAutoResizableDialog(title, url, ...
3
votes
1answer
123 views
Designing a Licensing Scheme
Our startup is creating a product for the SharePoint platform.
I'm wondering, what are some ideas for designing and implementing a licensing scheme for solutions that plug into SharePoint? How can ...
3
votes
1answer
172 views
Getting the path of a an item on using UrlAction and JavaScript
I have a custom ECB menu item. I want to get the path of the file that has been right clicked and alert it using JavaScript. Is this possible?
3
votes
1answer
317 views
SystemUpdate(false) not able to retain Modified fields
I am using SystemUpdate(false) in my code block and was not able to retain the modified values for a document library (both folders and files) when I am trying to rename the folder or file. Please ...
3
votes
2answers
3k views
WCF service in SP2010
I want to use WCF service in SharePoint 2010 but have problem.
First, in mapped Sp2010 folder(ISAPI) I created newfolder/myfile.svc and in that file I put a reference to my DLL:
<%@ServiceHost
...
3
votes
3answers
748 views
SharePoint 2010 VS development: Intellisense for ASPX files
I'm using Visual Studio 2010 to develop a SharePoint Server 2010 solution. Part of this includes custom Page Layouts, but when editing them, intellisense is completely broken, since Visual Studio ...
3
votes
4answers
1k views
How Can I Add a New Column to All Document Library Lists in SharePoint 2010 Using Visual Studio 2010?
I can't figure out how to create a solution in Visual Studio 2010 that will allow me to alter existing lists in a SharePoint 2010 site. Specifically, I want to add a new column, which contains a small ...
3
votes
0answers
53 views
The remote event receiver callout failed
I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error
The remote event receiver callout failed
The HTTP request is ...
3
votes
1answer
111 views
Custom Action Safe Control 2007
In extension to this question of mine, If I put location of custom action as
"Location="Microsoft.SharePoint.StandardMenu"
it gives me error
Failed to create a control from assembly '', class ...
3
votes
3answers
1k views
Why don't folders work when adding an XsltListViewWebPart to the page via code?
I have an issue with adding an XsltListViewWebPart to a page for a Document Library. When I do it using the code below everything works fine unless I create a folder and upload a document there. Such ...
2
votes
3answers
2k views
SP2010 Activate feature through code
I'm using the below code to activate the "SharePoint Server Publishing Infrastructure" feature for a site collection. My code runs fine when I'm logged in as a site collection administrator. The ...
2
votes
4answers
557 views
Attachments to Documents
I have a document library. I want to be able to add supporting documents to a document(I am using a custom content type based on document). Ideally I would like to add them as attachments so ...
2
votes
5answers
202 views
Getting twitter updates into sharepoint
I would like to get the twitter updates from a user account onto my SharePoint site. Please suggest me how to use that functionality.
2
votes
2answers
185 views
Speeding up Development Environment
I have a Windows 7 box where I do development work on before pushing up to a central dev server. The performance on my local machine is holding me back. I like to deploy regularly to check changes ...
2
votes
4answers
3k views
SharePoint 2010 List Rotator Web Part
Ok, so I would normally take the time to write this, but don't have said time to do it at the moment. I need a web part for SharePoint 2010 that does something very simple: display list items from a ...
2
votes
3answers
1k views
How to add users as site collection administrator group through code
I am having various site collections and I want to add few users into administrator group. So that more people will have access to edit the groups. I can add users to the site collection ...
2
votes
4answers
686 views
Can I develop web parts just with WSS 3.0 and Visual Studio Express?
Can I get away with building and testing basic web parts just by installing Windows SharePoint Services 3.0 on a VPC with Visual Studio Express Editions?
2
votes
4answers
442 views
Cache SP Objects or custom class?
Just wanted to see what the consensus on this one is…
If you make a call to the OM to return a SP object e.g. SPListItemCollection, and then want to cache the results (to improve subsequent ...
2
votes
3answers
540 views
SPDispose false positive
I got many warnings from the SPDispose checker like this:
ID: SPDisposeCheckID_140
Module: xx.xx.dll
Method: xx.xx.Layouts.xx.UpdateWorkspace.Page_Load(System.Object,System.EventArgs)
Statement: ...
2
votes
3answers
228 views
How Can I Display a Document Library in one Web App from another Web App - SharePoint 2007
I've got a customer request where a Document Library exists in a Site Collection on one Web Application and they would like to display the items in another Site Collection in a different Web ...
2
votes
2answers
59 views
Hyperlink column
I'm using two textboxes.
One textbox that saves the link to my hyperlink column: http://... and one textbox that saves the description. But i can't get it to work.
I've tried
new ...
2
votes
5answers
395 views
Use of Virtual Machines for Sharepoint Development
I am beginning with sharepoint Development, I was looking for Suggestions and quite a bunch of tips for Developing for Sharepoint on VM's or in Physical Machine.
I have set up Windows Server VM ...
2
votes
4answers
356 views
What are the dangers of disposing of SPWeb when it's automatically disposed of?
In some cases such as:
using (SPSite site = new SPSite(@"http://sitecollection/"))
{
SPWeb web = site.RootWeb;
}
you don't need to dispose of the SPWeb object because it is disposed of ...
2
votes
3answers
253 views
OWSTimer.exe suddenly disappeared
I am testing/debugging this Timer Job, while deploying my solution again and again using WSP Builder, I manage to hide OWSTimer.exe so now I cant find it to attach timer job to and debug my code, ...
2
votes
2answers
418 views
Implementing Sharepoint Without the Ribbon
Today when I walked into the office I was greeted with a request to position the ribbon at the top of the page in our Sharepoint Intranet branding in such a way that it:-
A. Does not obscure the ...
2
votes
1answer
66 views
how to get webapplication from a site
I have a site object. How do I get the webapplication from the site? I do not have spcontext available. I am using SharePoint 2010. I am trying to do this in a feature event reciever when my feature ...
2
votes
1answer
2k views
Does Update-SPSolution trigger a SPFeature.Upgrade()?
I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade().
Are <UpgradeActions> elements ...
2
votes
1answer
193 views
Unmanaged code in Sharepoint 2010
Can anyone explain the difference between unmanaged code and managed code?
2
votes
4answers
7k views
SharePoint 2010 Code: Get list items of list in other site collection
I'm trying to access list items from an other site collection than the current "sitecollectionname" where I laungh my code in. I would like to validate the url of the current "sitecollectionname" with ...
2
votes
4answers
509 views
why doesn't SPMetal generate Publishing Schedule columns?
Happy 2011 experts,
I have a sharepoint 2010 publishing site that I use SPMetal to generate classes to. The problem is some fields do not get generated like:
PublishingStartDate and ...
2
votes
4answers
1k views
Windows 7 Boot to VHD for SP2010
I am looking for a definitive "how to" guide on setting up Windows 7 x64 boot to VHD for my SP2010 VMs ... anyone care to share blog/whitepaper?
2
votes
3answers
2k views
Can't remove web.config entries with SPWebConfigurationModification
I have a problem with removing web.config entries.
To add entries with the SPWebConfigurationModification is no problem, but whether i try to remove this entries again nothing happens. Any idea why?
...
2
votes
3answers
473 views
SharePoint 2013 Development - What's New and Different
I wonder what is new and different in SharePoint 2013 development.
I am a SharePoint developer since 2007 and 2010, but have not received any SharePoint 2013 development training. When upgrading from ...
2
votes
2answers
89 views
How to connect to the production environment in SharePoint with Visual Studio
What privileges should be set up to connect with the Visual Studio with Production Enviroment. Now I'm writing my code at SharePoint Foundation, but after it I want to migrate all to the production ...
2
votes
4answers
464 views
Which is Better a UserControl or WebPart?
What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
2
votes
1answer
426 views
Inject Script Block after SP.js loads
I have a giant script block inside my code file and I want to load it after SP.js loads. I've looked at ScriptLink, but I don't think ScriptLink injects code, it only injects code files.
Is there a ...
2
votes
1answer
4k views
How to full uninstall SharePoint 2010
I wanted a clean install of SharePoint 2010 so I recently uninstalled it as well as deleted all the content databases from Central Admin and SQL Management server. I then re-installed SharePoint 2010 ...
2
votes
1answer
712 views
How do I remove all users from an SPGroup object?
I have an SPGroup object populated, how can I remove all members from the group, so that essentially I start with a fresh group.
I can't delete and recreate it, so I need a way to work with the ...
2
votes
2answers
272 views
Rebrand a SharePoint portal
I'm a beginner in SharePoint so forgive me if the question is too simple.
I've been given a task to revamp an existing SharePoint portal. I will basically focus on the visual branding and also on ...
