ĐÀO TẠO DOANH NGHIỆP : SỞ KHOA HỌC CÔNG NGHỆ TỈNH ĐỒNG NAI

ENTERPRISE TRAINING: DONG NAI DEPARTMENT OF SCIENCE AND TECHNOLOGY.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

Sunday, December 1, 2013

sharepoint 2010 cascadingdropdown jquery

Download JS and Script at Here
Create custom list with name is Region (Title=>Default)
Create custom list States (Title=> Default, Region => lookup to Regions list)
Create custom list CascadeDemo (Title=> Default, Region => lookup to Regions list, State => lookup to States list)
Note: Should not change internal name of field Region and State (!Important)
Go to list CascadeDemo => list setting >> Advanced Setting >> at Launch forms in a dialog and choose No

Upload 2 jquery libraries to Shared Documents (you can download at here)
At forn NewForm.aspx of CascadeDemo add content editor webpart then click Edit HTML Source follow the image
Input the code like this
<script language="javascript" type="text/javascript" src="/Shared%20Documents/jquery-1.8.2.min.js"></script>
<script language="javascript" type="text/javascript" src="/Shared%20Documents/jquery.SPServices-0.7.2.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
            // Set up the cascade from Region to State
            $().SPServices.SPCascadeDropdowns({
                        listName: "CascadeDemo",
                        relationshipList: "States",
                        relationshipListParentColumn: "Region",
                        relationshipListChildColumn: "Title",
                        relationshipListSortColumn: "Title",
                        parentColumn: "Region",
                        childColumn: "State"
            });
});

</script>
The result as
And
Finish


Restore deleted site collection sharepoint 2010 SP1

It have available feature in Sharepoint 2010 SP1=> We have 2 the site collections (Top-level site and site collection)


We delete 2 site collections
Now 2 site collection is deleted
Restore deleted site collection using “SharePoint 2010 Management Shell” => Open “SharePoint 2010 Management Shell” as Administrator
Input get-spdeletedSite

The result: we have 2 site collections was deleted


Input Restore-spdeletedsite –identity “siteid” to restore site collection then enter

Continue input yes then enter


The result as top level site is restored:

Continue restore the second site collection
The result as:

So we finish the guide step. Good luck !!!