Creating & Subscribing Subscription ID with Site

STEP 1: Creating a new subscription:

CMD:

$sub=New-SPSiteSubscription

Verify the output:

PS C:\Users\administrator.DOMAIN> $sub

Id                                                                                       Sites

— —                                                                                   —–

e44dda4e-38a9-4e47-a625-88f51c1cbd11              {}

—————————————————————————————————————————————-

STEP 2: Creating a new site

CMD:

$site=new-SPSite http://test/sites/admin1

cmdlet New-SPSite at command pipeline position 1

Supply values for the following parameters:

OwnerAlias: domain\administrator

Verify the output:

PS C:\Users\administrator.DOMAIN> $site

Url

http://test/sites/admin1

—————————————————————————————————————————————————-

STEP 3: Setting Subscription between Site & Subscription ID

CMD:

Set-SPSite -Identity $site -SiteSubscription $sub

Confirm

Once the site subscription is set, it cannot be changed.

[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): y

Verify the output:

$sub

Id                                                                                                                      Sites

—-                                                                                                                     —–

e44dda4e-38a9-4e47-a625-88f51c1cbd11            {SPSite Url=http://test/sites/contoso1}

This entry was posted in Articles. Bookmark the permalink.

2 Responses to Creating & Subscribing Subscription ID with Site

  1. ramanjjilunaidu says:

    Hi Sagar/Matrix2603,
    this is regarding with the MSDN post – https://social.technet.microsoft.com/Forums/office/en-US/2ea7c969-b3ed-424e-a890-18ceb2ba11f5/how-to-create-a-page-in-which-i-want-to-show-only-particular-folder?forum=sharepointgeneral#451e119e-c52f-4454-a94c-39848d8fa1ea

    In SharePoint designer,

    1. I could not able to find the webpart that’s displaying my view – I have created one page in which i have added that list view(selected from dropdown) as a webpart.

    2. Could not able to find form box in newly created ASPX page.
    Please help me. I am trying to do it in SP Online.

    Like

Leave a comment