Tagged Questions
1
vote
1answer
89 views
rootFolder.ContentTypeOrder throws unexpected error for sandbox solution
I'm trying to add content types into a library list, in order to make "Visible on New" option ticked.
Firstly I enabled contenttypes in the library, then I want to do this:
SPFolder rootFolder = ...
3
votes
1answer
1k views
Programmatically find lists by template ID
I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution.
NB: I'm obviously aware ...
0
votes
1answer
155 views
SharePoint Sandbox 2010 on Office 365 - list workflow only start for the first 6 items after inserted programmatically
I'm inserting x numbers of items into a list programmatically. On this list I have a list-workflow which starts when an item is created.
The problem is that if I insert more than 6 items at one time ...
3
votes
2answers
440 views
Unable to delete List during solution deactivate
I have two list that I need to delete when a solution is deactivated and removed. But my code doesn't seems to be working. I am trying to delete and remove the quicklinks to the lists in ...
0
votes
2answers
2k views
ItemAdding event not firing when submitting InfoPath form to form library
I created an event receiver in Visual Studio to handle three events in a form library: ItemAdding, ItemUpdating, and ItemDeleting.
ItemUpdating and ItemDeleting work as expected when debugging, but ...
0
votes
1answer
287 views
SPMetal Person column generation
I'm using SPMetal to generate a class for my lists to use in a Sandbox-solution (with Sandbox Visual WebParts).
However, when I generate the classes for a list column of type "Person or Group" with ...