While creating a custom list in SharePoint 2010 or 2013, we usually retain the "Title" column while create all the other columns manually. Now while programmatically using the column we specify "Tilte" as column name even if we have changed the name to something else.
e.g. if we have changed the "Tilte" column name to "EmpName" , then in ECMA script we will use :
listItem.set_item('Title', 'My New Item!');
"Title" is a site column which has been predefined in the site. Similarly there are a large number of columns in site.
Each site column has two attributes i.e "Name" and "Display Name". "Name" refers to the internal name or the field while "Display Name" is the name which is displayed in the UI. Now if the "Display Name" is "Employee Name" then the "Name" is mapped as "Employee_x0020_ Name" because space is interpreted as '_x0020' .
While creating a "Contact Form", its better to use site columns because we have predefined columns in "Core Contact Columns" category. Some of these are :
Display Name Name
Address --> WorkAddress
Mobile Number --> CellPhone
E-Mail --> EMAil0
Contact Photo --> _Photo
and so on....
In "Contact Forms" items are added programmatically either through ECMA script or C# code. So in both the cases, the column names have to be referred by their field values.
e.g.
listItem.set_item('Title', 'My New Item!');
listItem.set_item('EMail0', 's8@gmail.com');
listItem.set_item('CellPhone', '8xxxxxx448');
listItem.set_item('_Comments', 'Hello');
e.g. if we have changed the "Tilte" column name to "EmpName" , then in ECMA script we will use :
listItem.set_item('Title', 'My New Item!');
"Title" is a site column which has been predefined in the site. Similarly there are a large number of columns in site.
Each site column has two attributes i.e "Name" and "Display Name". "Name" refers to the internal name or the field while "Display Name" is the name which is displayed in the UI. Now if the "Display Name" is "Employee Name" then the "Name" is mapped as "Employee_x0020_ Name" because space is interpreted as '_x0020' .
While creating a "Contact Form", its better to use site columns because we have predefined columns in "Core Contact Columns" category. Some of these are :
Display Name Name
Address --> WorkAddress
Mobile Number --> CellPhone
E-Mail --> EMAil0
Contact Photo --> _Photo
and so on....
In "Contact Forms" items are added programmatically either through ECMA script or C# code. So in both the cases, the column names have to be referred by their field values.
e.g.
listItem.set_item('Title', 'My New Item!');
listItem.set_item('EMail0', 's8@gmail.com');
listItem.set_item('CellPhone', '8xxxxxx448');
listItem.set_item('_Comments', 'Hello');



đồng tâm
ReplyDeletegame mu
cho thuê nhà trọ
cho thuê phòng trọ
nhac san cuc manh
số điện thoại tư vấn pháp luật miễn phí
văn phòng luật
tổng đài tư vấn pháp luật
dịch vụ thành lập công ty trọn gói
nước cờ trên bàn thương lượng
mbp
erg
nghịch lý
chi square test
nghệ thuật nói chuyện
coase
thuyết kỳ vọng
chiến thắng con quỷ trong bạn
cân bằng nash
Quán trà Lam Loan là nơi Thái Chánh Dương thường xuyên tới uống. Mặc dù đã sang làm giám đốc Sở Giao thông nhưng y vẫn giữ nguyên sở thích này.
Liễu Đạo Nguyên kiên quyết nói.
- Lão Liễu, ông lại nghe thấy tiếng động gì sao?
Thái Chánh Dương gãi đầu nói.
- Nói nhảm, chuyện lớn như vậy tôi có thể không nghe thấy sao? Quảng Tây đã bắt đầu hoạt động, Bí thư, Chủ tịch suốt ngày đến văn phòng tôi, bên cục Giao thông cũng lo lắng. Ai có thể làm trước là sẽ có cơ sở phát triển, điều này ai chẳng biết? Tôi quyết định rồi, nếu tỉnh không có câu trả lời thuyết phục thì không làm Bí thư nữa.
Liễu Đạo Nguyên nhìn Thái Chánh Dương rồi nói:
- Vấn đề này Sở Giao thông các ông có trọng trách lớn. Đừng có nói mấy câu gì mà chuyên gia luận chứng, về công về tư ông đều phải ủng hộ tôi. Dù là làm đường nào trước thì cũng do Sở Giao thông đề xuất mà. Ý kiến của Tỉnh ủy, Ủy ban nhân dân tỉnh từ đâu mà có chứ?
- Tôi bảo sao hôm nay ông lại tích cực như vậy, thì ra là thế. Tôi đúng là nhảy vào chảo lửa rồi.
Thái Chánh Dương chỉ vào Liễu Đạo Nguyên rồi nói.