Hi All,
i have encounter problem, My Scenario is like this, I have used Custom Appointment Dialog, on Which I am Passing Appointment Guid through DataKey Property. So Suppose i create a Recurring Appointment, now i have created an Occurance from an Appointment. Now when i an editing an Occurance , i am not able to get the datakey value of this occurance. Because Datakey is in Non Public member, though i can get the .datakey value from the Immediate window. and when i do innitialappointment.DataKey it returns ROOT APPOINTMENT GUID not Occurance Guid, but in my case i want to read the value innitialappointment.dataKey, here i can see DataKey is in Public member and dataKey is in Non Public Member. Can anyone help me to Get that .datakey Value.
DataKey showing ROOT APPOINTMET GUID while Opening OCCURANCE
Non Public dataKey, which i am trying to read
Getting dataKey Value in Immediate Window but Not able to get this Property in the CODE
How can i read this .dataKey Value.
Thanks
Immediate Window Showing datakey value but not able to get this value from Code.
Hello neusanjeev,
I`m not sure that I understand your scenario and issue. Could you please upload your sample (insted of snippet code) and explain more deeply what is your final goal.
Thanks and Regards
Hi Georgi,
Thanks for the Reply, well my Project is quite big, i couldnt Upload here. Well my Scenario is like this. I have Used DATAKEY member to save my Appointment GUID,
the Problem is, I have created a RECURRING APPOINTMENT and Save Appointment GUID in Datakey member.
now i Created a Occurance From that Recurring Appointment.
Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid, but i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value.
You can see in the Attached File as well
neusanjeev said: Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid
Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid
That`s correct. This is by design.
neusanjeev said: i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value
i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value
If I understad well your scenario, if you are looking for DataKey property under Occurance, I think that there are no such property. Also please note that you apply DataKey only for your root appoitment, so all other recurring appointments will have empty DataKey value.
If you want to keep some specific data, maybe you could inherite our controls and extend it with additional properties for your purpose.
Let me know if you have any questions.
Regards
Hi Georgi ,
I have used Datakey to track the AppointmetGUID, so when i Open the Occurance, it always display the ROOTAPPOINTMENT AppointmentGUID. like i shown in my earlier Post, i am Able to Read the DataKey from ImmediateWindow, which is the OCCURANCE APPOINTMENT GUID which i was lookinf for, but due to non public member i am not able to get that Value, is it possible to read that non public Member. So that ,it will solve my problem. Hope you understand my problem. In conclusion i am simply trying to read the non public members dataKey value for occurance , whose APPOINTMENT guid is save on that.
neusanjeev said: is it possible to read that non public Member
is it possible to read that non public Member
No, It is not possible. You could inherite our controls and extend it with additional public property.
Let me know if you have any further questions.
Hello Sanjeev,
neusanjeev said: Do you have any Sample code to extract that Value
Do you have any Sample code to extract that Value
No. This is your custom approach and we have not such samples which inerite our controls and extend existing functionality.
Do you have any Sample code to extract that Value.