API for interacting with SharePoint from .NET code deployed to the server.
1
vote
2answers
114 views
SharePoint Data Modelling Tool
I plan to develop a data model for a SharePoint application that we would like to bid out for development. Is there a data modelling tool that is preferred to be used with SharePoint, like it can ...
0
votes
2answers
117 views
how to open version history using SPSecurityTrimmedControl
I am using SPSecurityTrimmedControl to view version history of list for users who have more than read permissions like this
<.SharePoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl1" ...
0
votes
2answers
130 views
How to update one list from another, element by element
I want update with some changes one list from another. The secand list should have details of first list.
First list has got elements:
Contract | Worker | Day Start | Day Stop | ...
2
votes
1answer
70 views
Deleting a SharePoint User Profile remotely
Can anyone tell me how to delete a SharePoint user profile remotely? I don't see a way to do this using SharePoint Web Services or User Profile Services. The following code works fine when run on ...
2
votes
1answer
503 views
How to create InfoPath forms dynamically?
I have an InfoPath form published to a library... I need to create forms dynamically with siteuser as form name... I need to achieve it in Object Model... Can any of you help me on this...?
1
vote
1answer
34 views
Move discussion list to another discussion list
How to move a discussion list with all its messages to another discussion list maintaining the proper tree structure of the messages(replies)??
1
vote
1answer
617 views
How can I implement SharePoint JSGrid filtering and grouping functionality?
I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid.
For filtering we have to attached ...
1
vote
1answer
296 views
Using GetDataTable() hoses my SPFieldLookValueCollection!
I am trying to use GetDataTable on an SPListItemCollection. I have run into a situation where my SPFieldLookupValueCollections in this list are being converted to a string when they are stored in the ...
1
vote
1answer
586 views
Getting hold of the document sets in a library
I am sure something wrong with the following code. There are over 400 document-sets in the library and script only shows 8. Please suggest which line is messed up. (At one time I could get this work)
...
0
votes
1answer
50 views
Best way of customizing SharePoint List forms
What is the best way of customizing SharePoint List forms(NewForm, Edit form, Display form).
Application page - object model
Visual web part - object model
SharePoint Designer 2010 - ECMA script
...
0
votes
1answer
70 views
where i can find trace for item.systemupdate()
I am working on a project which was initially developed by someone else. few of my list items are getting updated but i am not getting anything in version history. I believe that some schedule job is ...
0
votes
1answer
225 views
Sandboxed Solution to create a Document Library and enabling manual declartion as record
I need to create a SharePoint Feature, when activated needs to create a Document Library and then enable the manual declaration as record. Following is the code which is working fine in a Console ...
0
votes
1answer
375 views
Adding column in Status indicator
I have requirement that adding one more field in the Status indicator list view programmetically.is there way to extend the Staus indicator list using programmetically?.How can i acheive this?
Any ...
0
votes
1answer
86 views
Automatically add a folder (document set) by code (generating the name also by code, without the user inputting the name)
I want to know if it’s possible to write en Event Receiver in VB for automating the creation of a document set: the user only click “new document set” and then the code generates the document set with ...
1
vote
0answers
44 views
Distinguish Event Receiver Firing From Web UI or From Code
Think of some event receiver methods like ItemAdded, ItemDeleted etc.
How can I detect in my event receiver code if the item adding/deleting is being triggered from the web UI or from the object ...
1
vote
0answers
72 views
Unable to seperate normal and hidden folder such as “Forms” [SPFolder Object Model ]
While performing certain task in a console application, i am unable to separate normal folder and hidden ones such as "Forms","FormServerTemplates" etc. I am using SPFolder in the obejct model. I have ...
0
votes
0answers
33 views
SPWeb.GetFolder() returns SPFolder with no files or sub folders
I'm encountering a strange problem on SharePoint 2007 where the following script correctly enumerates files and folders on my QA and DEV sites, but not on my Production site. Why is SPWeb.GetFolder() ...
0
votes
0answers
82 views
How can I programmatically upload video( using video url of external sites ..eg.youtube) into Asset Library in SharePoint 2013 using obejct model?
My question is:
How can I programmatically upload video( using video url of external sites ..eg.youtube) into Asset Library in SharePoint 2013 using obejct model?
Please advise.
Regards
Sunny
0
votes
0answers
108 views
Use picture name from picture library as lookup field
I have a picture library that I want to use the name as the source of a lookup. You cannot do this with the Name field. So, I created a new field, Picture Name. I am trying to wire up an ItemReceiver ...
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
184 views
SPListItemCollection.EnsureListItemsData seems to deadlock
I'm trying out multithreading with the SP2010 Object Model and I've run into some weirdness.
My application currently does the following:
Opens an SPSite and uses AllWebs.WebsInfo to build a Guid[] ...
0
votes
0answers
180 views
Cannot remove file <x>. Error Code: 16388
I've written a tool top copy/paste/delete files accross site collections and then remove the original version from the recycle bin.
The method to copy the files is:
public bool ...
0
votes
0answers
130 views
List item attachments not showing up when accessed through the object model
I've got some list items which have manually attached (through the web interface) files and need to access these files on server-side. Whenever I look at SPListItem.Attachments though, it always shows ...
0
votes
0answers
46 views
Save MasterPage to file system is not bringing Webpart data
I am saving some masterpages to the file systems in some build scripts to automate the process of building deployment packages. This is what I am using to save the masterpages and layouts:
using ...
0
votes
0answers
632 views
Ho do I populate a TreeView with data from the TermStore?
How do I bind termstore to treeview webpart? I want to show my term store in a webpart. I was using the code below but its giving away all the groups but I want the one which I have selected only.
...
