CreateDocumentSet.aspx
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateDocumentSet.aspx.cs" Inherits="ECM_CreateDocumentSet.Layouts.ECM_CreateDocumentSet.CreateDocumentSet" DynamicMasterPageFile="~masterurl/default.master" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateDocumentSet.aspx.cs" Inherits="ECM_CreateDocumentSet.Layouts.ECM_CreateDocumentSet.CreateDocumentSet" DynamicMasterPageFile="~masterurl/default.master" %>
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<h1>Document Set Creation Demo</h1>
<p>
This page creates a new document set in the Shared Documents folder. Document
sets enable you to manage multiple documents as one. For example, you can submit
an entire document set as a record in a single operation. You can also apply
metadata and permissions to every document in the set. Before you
can create and use document sets, you must enable the Document Sets feature at
the site collection level. Then add the Document Set content type to the document
library where you want to use them.
</p>
<p>
Name: <asp:TextBox ID="nameTextbox" runat="server"></asp:TextBox>
</p>
<p>
Description: <asp:TextBox ID="descriptionTextbox" runat="server"></asp:TextBox>
</p>
<asp:Button ID="createDocSetButton" OnClick="createDocSetButton_Click" runat="server" Text="Create Document Set" />
<asp:Label ID="resultLabel" runat="server" Text=""></asp:Label>
</asp:Content>
<h1>Document Set Creation Demo</h1>
<p>
This page creates a new document set in the Shared Documents folder. Document
sets enable you to manage multiple documents as one. For example, you can submit
an entire document set as a record in a single operation. You can also apply
metadata and permissions to every document in the set. Before you
can create and use document sets, you must enable the Document Sets feature at
the site collection level. Then add the Document Set content type to the document
library where you want to use them.
</p>
<p>
Name: <asp:TextBox ID="nameTextbox" runat="server"></asp:TextBox>
</p>
<p>
Description: <asp:TextBox ID="descriptionTextbox" runat="server"></asp:TextBox>
</p>
<asp:Button ID="createDocSetButton" OnClick="createDocSetButton_Click" runat="server" Text="Create Document Set" />
<asp:Label ID="resultLabel" runat="server" Text=""></asp:Label>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
ECM Document Set Creation
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
ECM Document Set Creation
</asp:Content>
ECM Document Set Creation
</asp:Content>
---------------------------------------------------------------------------------------------------------------
CreateDocumentSet.aspx.cs
CreateDocumentSet.aspx.cs
using System;
using System.Collections;
using Microsoft.Office.DocumentManagement.DocumentSets;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using System.Collections;
using Microsoft.Office.DocumentManagement.DocumentSets;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
namespace ECM_CreateDocumentSet.Layouts.ECM_CreateDocumentSet
{
/// <summary>
/// This application page creates a document set based on the default document set
/// content type.
/// </summary>
/// <remarks>
/// You must have enabled the site collection level Document Sets feature, and added
/// the Document Set content type to the document library, before you can create
/// document sets.
/// </remarks>
public partial class CreateDocumentSet : LayoutsPageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void createDocSetButton_Click(object sender, EventArgs e)
{
//Get the Shared Documents document library
SPWeb currentWeb = SPContext.Current.Web;
SPDocumentLibrary sharedDocsLib = (SPDocumentLibrary)currentWeb.Lists["Shared Documents"];
//You can use a hashtable to populate properties of the document set
Hashtable docsetProperties = new Hashtable();
docsetProperties.Add("Name", nameTextbox.Text);
docsetProperties.Add("DocumentSetDescription", descriptionTextbox.Text);
//Create the document set
try
{
DocumentSet newDocSet = DocumentSet.Create(sharedDocsLib.RootFolder,
nameTextbox.Text, sharedDocsLib.ContentTypes["Document Set"].Id,
docsetProperties, true);
resultLabel.Text = "Document set created";
}
catch (Exception ex)
{
resultLabel.Text = "An error occurred: " + ex.Message;
}
}
}
}
{
/// <summary>
/// This application page creates a document set based on the default document set
/// content type.
/// </summary>
/// <remarks>
/// You must have enabled the site collection level Document Sets feature, and added
/// the Document Set content type to the document library, before you can create
/// document sets.
/// </remarks>
public partial class CreateDocumentSet : LayoutsPageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void createDocSetButton_Click(object sender, EventArgs e)
{
//Get the Shared Documents document library
SPWeb currentWeb = SPContext.Current.Web;
SPDocumentLibrary sharedDocsLib = (SPDocumentLibrary)currentWeb.Lists["Shared Documents"];
//You can use a hashtable to populate properties of the document set
Hashtable docsetProperties = new Hashtable();
docsetProperties.Add("Name", nameTextbox.Text);
docsetProperties.Add("DocumentSetDescription", descriptionTextbox.Text);
//Create the document set
try
{
DocumentSet newDocSet = DocumentSet.Create(sharedDocsLib.RootFolder,
nameTextbox.Text, sharedDocsLib.ContentTypes["Document Set"].Id,
docsetProperties, true);
resultLabel.Text = "Document set created";
}
catch (Exception ex)
{
resultLabel.Text = "An error occurred: " + ex.Message;
}
}
}
}
-------------------------------------------------------------------------------------------------------------------
https://bayanlarsitesi.com/
ReplyDeleteManisa
Denizli
Malatya
Çankırı
H05Z
Afyon
ReplyDeleteAntalya
Erzurum
Mersin
izmir
1HLD
Yalova
ReplyDeleteHatay
Muş
Bursa
Mersin
ZVO
A1762
ReplyDeleteMardin Evden Eve Nakliyat
Amasya Parça Eşya Taşıma
Niğde Lojistik
Şırnak Lojistik
Yozgat Lojistik
89A11
ReplyDeleteKırşehir Evden Eve Nakliyat
Adıyaman Evden Eve Nakliyat
Batman Evden Eve Nakliyat
Denizli Evden Eve Nakliyat
Çerkezköy Fayans Ustası
28870
ReplyDeleteMersin Evden Eve Nakliyat
Btcturk Güvenilir mi
Aksaray Şehirler Arası Nakliyat
Gümüşhane Lojistik
Trabzon Şehirler Arası Nakliyat
Uşak Şehirler Arası Nakliyat
Kars Lojistik
Sinop Evden Eve Nakliyat
Mamak Boya Ustası
31F36
ReplyDeleteAltındağ Parke Ustası
Kayseri Lojistik
Kütahya Parça Eşya Taşıma
Kars Parça Eşya Taşıma
Kocaeli Şehir İçi Nakliyat
Isparta Parça Eşya Taşıma
Çankırı Şehirler Arası Nakliyat
MEME Coin Hangi Borsada
Lbank Güvenilir mi
62431
ReplyDeleteKaraman Lojistik
Malatya Lojistik
Maraş Şehirler Arası Nakliyat
Eskişehir Lojistik
Bitlis Parça Eşya Taşıma
Uşak Lojistik
Yozgat Evden Eve Nakliyat
Kars Lojistik
Samsun Şehirler Arası Nakliyat
7004E
ReplyDeleterastgele sohbet
sivas mobil sohbet chat
kırklareli bedava görüntülü sohbet sitesi
samsun sesli mobil sohbet
manisa kadınlarla ücretsiz sohbet
telefonda görüntülü sohbet
antalya mobil sohbet sitesi
ordu bedava sohbet siteleri
en iyi görüntülü sohbet uygulaması
19E17
ReplyDeleteçankırı sesli sohbet sitesi
gümüşhane sesli sohbet uygulamaları
kars canlı sohbet bedava
görüntülü sohbet canlı
kilis bedava sohbet uygulamaları
malatya görüntülü sohbet sitesi
görüntülü sohbet uygulamaları ücretsiz
manisa kadınlarla görüntülü sohbet
hakkari ucretsiz sohbet
93F1C
ReplyDeletegörüntülü canlı sohbet
random görüntülü sohbet
ücretsiz sohbet sitesi
hatay telefonda rastgele sohbet
zonguldak en iyi ücretsiz sohbet uygulamaları
bayburt görüntülü sohbet odaları
konya sesli sohbet odası
canlı sohbet odaları
tunceli canlı sohbet et
15649
ReplyDeleteçanakkale bedava sohbet chat odaları
Eskişehir Rastgele Görüntülü Sohbet Uygulaması
Batman Görüntülü Sohbet Yabancı
görüntülü sohbet odaları
aksaray görüntülü sohbet ücretsiz
kastamonu ücretsiz sohbet uygulaması
trabzon bedava sohbet odaları
kastamonu ücretsiz sohbet siteleri
Hakkari En İyi Sesli Sohbet Uygulamaları
21634
ReplyDeletelayerzero
pancakeswap
pancakeswap
spookyswap
yearn finance
trezor suite
quickswap
dao maker
thorchain
94503
ReplyDeletebitcoin nasıl üretilir
gate io
kraken
kucoin
coinex
bitexen
keçi sütü bal sabunu
huobi
gate io
36CDF
ReplyDeletegate io
bitmex
okex
kripto para nereden alınır
binance referans kimliği nedir
bitget
papaya meyvesi
referans kimliği
probit
CFC7C
ReplyDeletebinance
bitexen
aax
canlı sohbet odaları
kucoin
bitget
kucoin
https://kapinagelsin.com.tr/
binance referans kodu
57A2C
ReplyDeletebitcoin nasıl üretilir
binance referans kimliği nedir
bitget
paribu
bybit
paribu
gate io
probit
bitcoin ne zaman yükselir
6AD42
ReplyDeletewhatsapp görüntülü şov
0AFB7D8376
ReplyDeletesinegra
delay
maxman
lay era
viga
green temptation
kamagra
kaldırıcı
novagra
00E0A2BFFD
ReplyDeletebayan azdırıcı damla
cobra vega
novagra
sildegra
delay
geciktirici
green temptation
ereksiyon hapı
sinegra