Hi Devs,
ຂ້າງລຸ່ມນີ້ແມ່ນຕົວຢ່າງລະຫັດໃນການປັບປຸງເນື້ອໃນຂອງບັນຊີລາຍຊື່ Sharepoint programmatically ໂດຍການນໍາໃຊ້ SharePoint Model Object.
SPSite = ເວັບໄຊ SPSite ໃຫມ່(“http://localhost:21000”);
SPWeb Web = Site.OpenWeb();
SPList ຊີ = Web.Lists[“ທີ່ຢູ່”];
SPListItem ListItem = List.GetItemById(0);
string FullName = string.Empty;
FullName = ListItem[“FirstName”].ToString() + ListItem[“ນາມສະກຸນ”].ToString();
SPListItem[“ຊື່ແລະນາມສະ”] = FullName;
ListItem.Update();
Hi Uday,
I have a custom list “Weekly Activity”, this is supposed to be entered daily and checked weekly. The problems I face are as follows:
1. Team members can enter the activity daily but I am not being able to categorise it on a week basis( I used the group by facility but that does not give me what I want). that is Sunday to thursday week.
2. I have a “Checked By” field which is meant only for the manager.. but the team members are being able to edit this field.
3.Once an activity is checked by the manager, no team member should be able to go back and edit it.
Kindly tell me how I can do the above on my custom list.
thanks and Regards,
lis
Hi Uday,
where do you write this code. On what event
Hi Lis,
as of now we dont have column level security available OOB in MOSS.
My suggestion would be write a event handler and on “saving” event, then verify the person belongs to which while updating the content to list. ໂດຍອີງໃສ່ກຸ່ມທີ່ເຂົາ / ນາງເປັນທ່ານສາມາດປັບປຸງເນື້ອໃນ.
ຂໍຂອບໃຈ,
~ Uday
Hey Siva,
ທ່ານສາມາດນໍາໃຊ້ສິ້ນຂອງລະຫັດໂດຍອີງໃສ່ຄວາມຕ້ອງການທຸລະກິດຂອງທ່ານ.
ສໍາລັບຕົວຢ່າງ:.
ທ່ານສາມາດນໍາໃຊ້ໃນການຈັດການເຫດການໃນການປັບປຸງຄ່າຄິດໄລ່ໃນຖັນລູກຄ້າຂອງທ່ານໂດຍອີງໃສ່ຄຸນຄ່າຂອງເຂົ້າໂດຍຜູ້ໃຊ້ໄດ້.
ຂໍຂອບໃຈ,
~ Uday.