Click here to Skip to main content
16,016,760 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Techies

Sharepoint and asp.net application are running on different server


I need to check out a file from sharepoint make changes and check in again to
sharepoint using asp.net application.


I got some information,they suggest FPRPC
I dont have idea about it, could u gimme a FPRPC example or some other method to do operation


Thanks in Advance

Sathish
Posted
Comments
[no name] 22-Dec-11 12:39pm    
What version of SharePoint are you using? WSS 3.0, MOSS 2007, SharePoint 2010???

FPRPC is completely incorrect and irrelevant
sathish.kasin 23-Dec-11 0:10am    
WSS 3.0

With WSS 3.0 your only viable option is to use Windows SharePoint Services Web Services[^]. With SharePoint 2010 however you the option to use Client Object Model which offers more capabilities than Web Services
 
Share this answer
 
Comments
sathish.kasin 23-Dec-11 8:50am    
Mark Nischalke

Thanks for ur reply

http://msdn.microsoft.com/en-us/library/lists.lists.checkoutfile%28v=office.12%29.aspx

the above method is bool so it return whether its check out or not , it change the status of the document only , but it doesnt check out the document to sharepoint draft folder
[no name] 23-Dec-11 9:43am    
Of course, it isn't meant to do that. The item goes to the draft folder when being edited. With this method you are not editing, only checking in/out.
sathish.kasin 23-Dec-11 9:45am    
i suppose to edit the document, for that what i should do ? i have to check out after edit i should check in the document through office 2007 itself..
[no name] 23-Dec-11 22:00pm    
If you are opening the document from SharePoint then there is nothing else you need to do. Word will coordinate with SharePoint and do the Checkout when opening, there will be a message to the user to do so, and the checking in when saving. There is nothing you need to do programatically for this to happen.
sathish.kasin 23-Dec-11 23:50pm    
If i open from sharepoint means you are correct, but i suppose to do this operation from my asp.net application.
CodePlex has similar application. Ref at: http://fprpcapp.codeplex.com/[^]
 
Share this answer
 
Comments
sathish.kasin 23-Dec-11 4:33am    
No yar its not helpin

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900