Automatically create Sub site With the Name of List Item from the list of parent site ,

 Hi all
I am using Share Point 2010 And
I have one task That is create new sub site automatically with the name of list item which I Am added in main site List 
for Example: I have a list name "Projects"  in my main site I am going to add new project as a item ,with that project name i want a new sub site will create automatically .Is there any work flow or any setup
or any feature please help me by giving guidance  
Thanking You,
Arun Darly.

you can use ECMA script.
For adding a list item.
http://adicodes.com/add-update-and-delete-list-items-using-ecmascript/
Once the item has been added, on success function create a sub site
http://withinsharepoint.com/archives/285
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • Aggregate list data from multiple subsites to parent site

    I am working on implementing a project management site. I simply have a site collection with multiple subsites (each subsite is a unique project) that all have the same list named "Project Status" which includes project health and comments.
    I want to rollup only the most recently added item from the Project Status list from each subsite into the site collection parent site main page.
    For example:
    Project Portfolio Status
    Project 1 - Green - <comments>
    Project 2 - Yellow - <comments>
    Project 3 - Red - <comments>
    Can this be done using OOB tools? I know Bamboo Solutions has a product that does something like this, but it's $1000.

    You can use Content Search Web Part in SharePoint 2013. There are many ways you can use CSWP and its query filters, you can view them here. 
    A query such as below - 
    path:"https://YourSiteCollection/SubSite*" ListID:xxxxxx-9511-4746-xxxx-E12BC81ECCA9 ListID:5xxxxC1B4-EE4D-4xxxx-BC5B-032EB7D03E09 ListID:xxxxE18-xxxx-4C3C-xxxx-AC14EFBB2A12 -Filename:AllItems.aspx
    will give the result that will look like the image below.
    Srini Sistla Twitter: @srinisistla Blog: http://blog.srinisistla.com
    Thank you. I have been working on my query and have some good results but I need to add some more parameters to my query in order to block/filter the following two items that show up in the results:
    Item 1 - .../Add Status Report.aspx
    Item 2 - .../AllItems.aspx
    *Note: I also need to block/filter all items in the list EXCEPT for the 1 most recent item
    My current query is:
    path:"<subsite url>" ListID:<list id> -Filename:<view name>.aspx
    Where can I find/read about other parameters that I can use to block out the other items? Thanks!

  • I changed the name on my computer from the Windows side and now it won't boot to Windows (bootcamped)

    I changed the name on my computer on the Windows side and now I cannot boot to Windows 7 (bootcamped).  Any suggetions?

    Hello cmcnanna,
    I'm sorry to hear you are having these issues with your iPhone. If your iPhone isn't starting up or responding at all, you may find the troubleshooting steps outlined in the following article helpful:
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    If that does not resolve the issue, you will most likely need to have your iPhone evaluated and/or serviced. You may find the following page useful in that case:
    Apple - Support - Service Answer Center
    Sincerely,
    - Brenden

  • Read MicroFeed List Items from Office 365/SP online site

    Hi all:
    We have got a publishing site with Site Feed feature enabled. We are using Site Feed web part and everything gets stored in MicroFeed list.
    There is a requirement to read all the items in MicroFeed list using .Net CSOM and also identify the associated attachments. When I try to read items from the list, I can get only get the top level item with a funny guid. The guid relates to the guid of
    the web part where users are posting their stuffs. That top level item stores all other posts as its children, which I really need to access. How can I do that ?
    Thanks and regards,
    D_M

    OK so I found out that you can read MicroFeed items using SocialFeed class. Here is the link :
    http://msdn.microsoft.com/en-us/library/office/jj163237.aspx

  • Open references of other list items from a list item in the same window or tab

    Hi there,
    We have migrated from lotus notes to sharepoint. We have converted the lotus notes forms to sharepoint forms. Basically the list items are pages and there are links of other pages in a page.
    My problem is I want to open the other pages in the same tab or window and not in a separate window.(currently the links open in a separate window which is not the requirement.)
    In terms of sharepoint I would say,
    I have references(links)  to other list items of the list in a single list item. I want to open the other list items in the same window (tab).
    How can we achieve this?? If possible without much codes??
    Please suggest.
    Any help will be highly appreciated.
    Thanks in advance

    See:
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    For links opened via JavaScript you can look at this pref:
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • I am trying to find the name of a song from the TV show Blacklist. Where can I look?

    The song is played during the last two minutes of last evening's show, The Cypress Affair. Would like the artist and or Name of song.
    Thanks

    Perhaps a fan web site or forum for that show could help.

  • Getting the name of a menu from the menu item

    Hi everybody,
    I'm trying to get the name of the menu that a particular menu item is classified under, and thus far I can't figure out how. Can anyone give me a hand with this, please? I have a SSCCE that describes my efforts so far:
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JPopupMenu;
    public class MenuTester {
         public MenuTester() {
              JMenuItem item = new JMenuItem( "zzz" );
              item.addActionListener( new ActionListener() {
                   public void actionPerformed( ActionEvent e ) {
                        System.out.println( ((JPopupMenu)((JMenuItem)e.getSource()).getParent()).getLabel() );
                        System.out.println( ((JPopupMenu)((JMenuItem)e.getSource()).getParent()).getName() );
              JMenu menu = new JMenu( "test" );
                    menu.setName( "test" );
              menu.add( item );
              JMenuBar bar = new JMenuBar();
              bar.add( menu );
              JFrame frame = new JFrame();
              frame.setJMenuBar( bar );
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setSize( 300, 300 );
              frame.setVisible( true );
         public static void main( String args[] ) { new MenuTester(); }
    }I've tried the JPopupMenu method getLabel, and the generic Component method getName, but neither of them seem to work, even when I explicitly set the name. The result of both calls is "null", not "test" as it should be. There must be something small that I'm missing, but I'm not sure what, can anyone please tell me what it is?
    Thanks,
    Jezzica85

    JMenuItem mi = (JMenuItem)e.getSource();
    JPopupMenu popup = (JPopupMenu)mi.getParent();
    JMenu menu = (JMenu)popup.getInvoker();
    System.out.println( menu.getText() );

  • Retrieve list items from the textbox text value and display the dropdownlist item for that particular list item

    hi,
     I have created a custom list in my sharepoint :
    List1 name:   employeedepartment  -
                   Title       empdepartment
                   A             D1
                   B             D2
                   C             D3 
    List2  name:  employeedetails  
     emptitle            empname       empdepartment(lookup) --> from the list "employeedepartment"
       x                     Ram                 D1
       y                     Robert             D2
       z                     Rahim              D3
    My task is to create a custom webpart that will be for searching this employee details by entering emptitle
    For this, i have created a visual webpart using visual studio 2010, my webpart will be like this:
    emptitle  --->  TextBox1                        Button1--> Text property : Search
    empname---> TextBox2
    empdepartment-->  DropDownList1
    For this, i wrote the code as follows:
    protected void Button1_Click(object sender, EventArgs e)
                using (SPSite mysite = new SPSite(SPContext.Current.Site.Url))
                    using (SPWeb myweb = mysite.OpenWeb())
                        SPList mylist = myweb.Lists["employeedetails"];
                        SPQuery query = new SPQuery();
                        query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + TextBox1.Text.ToString() + "</Value></Eq></Where>";
                        SPListItemCollection myitems = mylist.GetItems(query);
                        if (myitems.Count > 0)
                            foreach (SPListItem item in myitems)
                                string a1 = Convert.ToString(item["empname"]);
                                string a2 = Convert.ToString(item["empdepartment"]);
                                TextBox2.Text = a1;           // displaying   properly                    
                                //DropDownList3.SelectedIndex = 1;                           
     It is showing the list item in textbox according to the item entered in the textbox1... But I am stuck to show in the dropdown list. 
    Suppose, if i enter X in textbox and click on search, then dropdownlist need to show D1,
                               for Y --> D2 and for Z-> D3... like that.
    What code do i need to write in the button_click to show this... 
    Please don't give any links...i just want code in continuation to my code.

    Hi,
    Since you have got the data you want with the help of SharePoint Object Model, then you can focus on how to populate values and set an option selected in the Drop Down List.
    With the retrieved data, you can populate them into the Drop Down List firstly, then set a specific option selected.
    Here is a link will show how to populate DropDownList control:
    http://www.dotnetfunda.com/articles/show/30/several-ways-to-populate-dropdownlist-controls
    Another link about select an item in DropDownList:
    http://techbrij.com/select-item-aspdotnet-dropdownlist-programmatically
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to populate List Item from the table in a form builder

    I want to know how to populate the List Item (pop up menu and combo box) from a table.
    Supposing I have a table Customer(cust_id,cust_name)
    and now I want to populate it in such a manner that I can update the data back to the database and also access the list on the form.

    This is the method i am using to populate a list.
    1- First of all you need to create a non-database list item for customer_name.
    2-create this procedure
    PROCEDURE populate_list_with_query
    --Populates the given list item with the specified query.
    (p_list_item in VARCHAR2
    ,p_query in VARCHAR2)
    IS
    /* Name the record group after the list item (no
    block prefix). */
    cst_rg_name constant VARCHAR2(30) :=
    GET_ITEM_PROPERTY(p_list_item,item_name);
    v_rg_id RECORDGROUP;
    BEGIN
    v_rg_id := FIND_GROUP(cst_rg_name);
    IF ID_NULL(v_rg_id) THEN
    v_rg_id := CREATE_GROUP_FROM_QUERY(cst_rg_name,p_query);
    END IF;
    IF POPULATE_GROUP(v_rg_id) = 0 THEN
    POPULATE_LIST(p_list_item,v_rg_id);
    /* Force display of first list element label
    in the list item. */
    COPY(GET_LIST_ELEMENT_VALUE(p_list_item,1),p_list_item);
    END IF;
    END populate_list_with_query;
    3- Create When-Create-Record on the block level and write this code
    BEGIN
    POPULATE_LIST_WITH_QUERY('bk1.customer_name',
    'SELECT customer_name, to_char(customer_id) FROM customer');
    END;
    In this example, the customer name is the (visible) list label and the customer ID is the (actual) list value
    i hope this will solve your problem ...

  • I have downloaded audio books, but they are in my email. How do I get them into my iPhone 4? I thought it would be the same as purchasing items from the iTunes store. I just want to download audio books so I have something to listen to on long drives. Can

    I can't get my audiobook download from my emai on the computer to my iPhone. Can anyone help. I am useless at understanding how all this stuff works .

    Nothing has been deleted.
    The Library folder is just hidden now. Hold down the Option key while clicking on Go in the Finder's menu and you'll see that you can open the Library folder.
    Once opened, drag the folder to the Finder's sidebar, so that you open it more easily next time.

  • Pro grammatically create three sub-folders with specific name under each of root folders in site collection level??

    Hi,
    i have a document library Named "Digital" in a site collection. In that document library i have bunch of customer folders with different customer name. My requirement is i need to create three sub-folders (like Images, Processed, Status) each of
    customer folders. so how can i automate to create sub-folders with specific name. can i use object model or power shell to achieve this one.
    Thanks in advanced!

    Hi Murugesa,
    Thanks for your help. i was trying to create folder inside document library using your code. but unfortunately i cant debug code and cannot create folder inside customers folder. Following is the code, basically i am creating a SharePoint project and adding
    an item as class file and deploying to share point site and then trying to debugging code, but break-point showing as yellow circle. i checked solution has been deployed to the server but still not creating any folder. It will be very helpful if you can describe
    all the steps. should i create console application?
    Appreciated !!
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;
    namespace Add_Sub_Folders
        class Create_Folders
            public void Sub_Folders()
                var foldersList = new List<string>();
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        using (var site = new SPSite(SPContext.Current.Site.Url.ToString()))
                            using (var web = site.OpenWeb())
                                web.AllowUnsafeUpdates = true;
                                foreach (SPFolder folder in web.GetFolder("http://nyc01d1sptmp01:8080/Shared%20Documents/").SubFolders)
                                    if (folder.Url.ToString() != "Shared Documents/Forms" && folder.Url.ToString() != "Shared Documents")
                                        foldersList.Add(folder.Url);
                                        SPFolder subFolder = web.GetFolder(folder.Url);
                                        subFolder.SubFolders.Add("Draft");
                                        subFolder.SubFolders.Add("Status");
                                        subFolder.SubFolders.Add("Final");
                                    folder.Update();
                                web.AllowUnsafeUpdates = false;
                    catch (Exception ex)
                        ex.Message.ToString();

  • SPListItem deleting save the list item into another list.

    Hi Friends,
    Using SPList Item deleting event receiver ,before deleting the item I want save the list item to the another SharePoint list.
    How can we do this using event receivers.Please help me anyone.
    Thanks,
    Tiru
    Tiru

    Before delete the item, use the below logic
    http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint
    or
    You can do this by 2 workflows one creating list item by copying and second workflow on the copied item which will delete the original list item.
    http://sharepoint.stackexchange.com/questions/93441/move-items-from-one-list-to-another-list-using-sharepoint-designer-2010
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/100c0b3c-72d9-4427-a48f-8300be508aa2/how-do-i-copy-the-items-in-a-sharepoint-2010-list-to-another-list?forum=sharepointgeneralprevious

  • How to create two employees with same name as supplier record?

    Dear all,
    We need to create a supplier record for an employee so that we can issue invoice for pretty cash payment. If there are 2 employees with same name, how can we create supplier records for these 2 employees? The system does not allow duplicate supplier name.
    Please advise.
    Regards,
    HY

    Hello,
    In R12 it is possible to create 2 employee with same name but different employee number.
    And also possible to create these 2 employees as suppliers in Payables.
    HTH,
    Vik

  • How to create a dll with strong name

    Hi All,
    For some security purpose, I need to create a dll with strong name by packaging the bean. I am able to create a dll from the bean but how do I create a strong name(sign) dll? I tried using jarsigner utility to sign the jar and then convert it into dll using packager utility but still the resulting dll is not signed. Please anyone let me know how can generate a signed dll by packaging my bean. Any suggestion/help is most welcome. Thanks in advance.

    Good information on strong names:
    http://www.ondotnet.com/pub/a/dotnet/2003/04/28/strongnaming.html
    Step-by-step procedure:
    1. Download Signer from Codeplex. No installation is necessary.
    2. Backup your unsigned assemblies
    3. Open the Visual Studio Command prompt or otherwise make sure that your PATH includes the .NET SDK binaries, and change to the directory where your assemblies are located
    4. In a command window, execute:
    PATH_TO_SIGNER.EXE\signer -k FILENAME OF YOUR KEY -outdir TARGET DIR -a YOUR DLL
    5. The resulting assemblies should now have a valid strong name from your company key. You can check this with:
    sn -T YOUR DLL
    The public key token must match the token of your public key.
    BTW - this is totally unrelated to Java Programming.

  • How to create logical directories with same name on two databases

    Hi,
    OS: Windows
    Oracle Version : 10g
    I have to databases in one oracle home. I have created some logical directories in one database. When I am trying to create logical directories with same name in another database, it is overwriting the first database directory paths with the second one
    Can't we create directories with same name but different path in two databases on one machine?
    Pls suggest me on this
    Regards,
    Vijay

    I am trying to create logical directory using CREATE
    DIRECTORY statement. I am very much aware that the
    create directory statement doesn't create directory
    on OS. But we can attach the physical directory on OS
    to logical directory in oracle
    My requirement is to create logical directories in
    oracle mapping the OS directories. Both the
    databases, wil have same logical directory names but
    different OS directory mappingsIf I understand you correctly, you can do this:
    On DB 1
    CREATE OR REPLACE DIRECTORY same_dir_name as 'C:\myoracle\mydir1';
    On DB 2
    CREATE OR REPLACE DIRECTORY same_dir_name as 'D:\myoracle\mydir2';
    What stops you from doing that ?
    Note: If what you have is one database but different connections, then you are connecting to one database. The above second statement will drop and replace with the first one

Maybe you are looking for

  • Install Oracle 8.1.6 on new workstation fails

    When trying to install Oracle 8.1.6 on a new Compaq EVO Pentium 4 1.7 ghz workstation in a Windows 2000 enviroment nothing happens. Install works fine on Compaq EN pentium 3 1.2 ghz workstation. Has anyone ran into this and if so what was the resolut

  • Installing a new Solid State Hard Drive

    I recently purchased a Lenovo B575. I'm totally satisfied with the system, however, I would like to swap out the original hard drive for a smaller, faster, 32 GB SSD. My plan is to host the OS and frequently used software on the SSD, and everything e

  • After new update, why do I have to click everything twice

    Since the new update, mail is being difficult.  When I try to delete something, it deletes what I click on & 1 to 2 othere messages. Plus I have to click on just about everything twice to get it to do what I want.  I rebooted machine but didn't help.

  • Time Machine isn't backing up VMWare Fusion

    Hello, I understand Time Machine is supposed to backup Fusion Virtual Machines. It doesn't seem to happen for me. I was running Fusion 1.1.3 and my father inadvertently selected "Revert to Previous Snapshot" and lost all my latest files. I assumed I

  • How to use transform activity ?

    Suppose I have two invoke activities that invokes two DB Adapter Partner Link. There are two output variables corresponding to these invoke activities. Now, how will I use the transform activity to transform the data to another invoke activity's (Inv