I created an customfield, the class implemented like below:

public class GoogleMapField :Sitecore.Shell.Applications.ContentEditor.Text, IContentField

In this class I want to get current content itemID is using this customField in ContentEditor. I tried to use ItemID property but It's not success

public string ItemID { get; set; }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.