in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

create subsite using sharepoint webservices

Last post 05-07-2008 9:08 AM by Tina. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 12-12-2007 7:01 AM

    create subsite using sharepoint webservices

    I want to create subsites using sharepoint webservices. I am not allowed to write my web service and deploy it at server. Is there any possibility of achieving this using admin web servcie or any other inbuild webservice?

    I copied the sharepoint dlls to my machine and wrote sharepoint object model coding to achieve this, however it didn't work coz I am writing code on a non- sharepoint remote server.

    Basically I am creating a web based utility to migrate data from sql server database to sharepoint.

    Please guide me.

  • 03-27-2008 3:27 PM In reply to

    • Sabin
    • Not Ranked
    • Joined on 03-27-2008

    Re: create subsite using sharepoint webservices

    Hi,

    I am not sure if oyu have already found your answer but I have a similar situation right now. I have not actually stated doing it but my preliminary research has pointed me to the following resouce. Check it out and maybe it will help you.

    http://www.infoq.com/articles/swanson-moss-web-services 

     

     

  • 03-27-2008 6:19 PM In reply to

    • Tina
    • Top 200 Contributor
    • Joined on 12-03-2007

    Create folders automatically

    Hello Sabin,

    I see your post.

    I need to create 1200 folders in my project site.

    Each site will have a indivual name, for example "Tina"; only Tina and site admin will have access to the folder.

    Do you have any idea how it can be done automatically?

    Thank you,

    Tina

  • 03-28-2008 10:03 AM In reply to

    • Sabin
    • Not Ranked
    • Joined on 03-27-2008

    Re: Create folders automatically

    Hi Tina,

    I need a few more details from you in order to determine what you are doing. Are you inside a SharePoint application? Or are you in a separate app running on another machine? what do you mean you need to automatically create 1200 folders? Is it in response to some kind of an event? How do you determine the folder name? or does it follow a numbering system? You can use the object model if you are inside of SharePoint but if you are doing this from another app in another machine then you will need to look at SharePoint Web Services and I believe there is a web service for creating folders, deleting etc. Give me a detail of what you are trying to do and I may be able to help you.

    Thanks,

    Sabin

  • 03-28-2008 1:13 PM In reply to

    • Tina
    • Top 200 Contributor
    • Joined on 12-03-2007

    Re: Create folders automatically

    Hello Sabin,

    Thank you for your response.

    We are doing a project.

    In this project, we are going to use SharePoint as a portal to deliver statements to individuals on monthly or weekly based. On the statement, it only contains information related to the receiver; therefore, permission can only be given to the receiver. Depends who is the receiver, the volume of the documents sent are between 2 to hundreds each month.

    We can do either in the SharePoint server or outside the box using Java depend on what works. I found the defination of the web services: CreateFolder, AddPermission etc. but I have no clue how to start the programming with web services. I read the article "getting started with web services". I know Excel VB programming.

    Could you please point me the easiest way?

    Thank you,

    Tina

  • 03-28-2008 3:12 PM In reply to

    • Sabin
    • Not Ranked
    • Joined on 03-27-2008

    Re: Create folders automatically

    Hi Tina,

    I am not sure what tool you are using but adding a reference to a web service is fairly easy in visual studio and the article that you read shows you how to do it. Now the article also shows you how to consume a web service through Java. Think of the web service as a service that provides you a way of doing various things in sharepoint. So in order to use the methods that a web service exposes, you first need to add a reference to it in your project. Again I am not sure if I am being of help here because my primary development tool is Visual Studio but it may be true for the tool you are using. So I think you need to ask yourself how to consume a webservice using the tool that you are using. Sorry I could not be of more help. But if you can find the answer to the question, how to reference the web service in your environment then you will be in the right track.

  • 05-07-2008 8:19 AM In reply to

    • mary
    • Not Ranked
    • Joined on 05-07-2008

    Re: Create folders automatically

    Hi,

    I'm starting to work with sharepoint now and I need to do something similar to your work, Tina.

    Did you got success on creating the folders? Could you tell me how to do it?

     

    thks 

  • 05-07-2008 9:08 AM In reply to

    • Tina
    • Top 200 Contributor
    • Joined on 12-03-2007

    Re: Create folders automatically

    We are using Java program and use web service buildin functions, such as

    1.      CreateFolder2.      AddPermission3.      RemovePermission4.      UpdatePermission

    It works well except we are investigaing issue:

    big size files is random uploaded to SharePoint. sometime all of them, sometime some of them, no rule to follow.

    Hope this give some idea.

    Good luck.

Page 1 of 1 (8 items)

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.