Example #1
0
        protected override IConfigurable ResolveDataObject()
        {
            DetailsTemplate detailsTemplate = (DetailsTemplate)base.ResolveDataObject();

            detailsTemplate.MAPIPropertiesDictionary = MAPIPropertiesDictionaryFactory.GetPropertiesDictionary();
            detailsTemplate.BlobToPages();
            return(detailsTemplate);
        }
Example #2
0
        protected override IConfigurable PrepareDataObject()
        {
            DetailsTemplate detailsTemplate = (DetailsTemplate)base.PrepareDataObject();

            detailsTemplate[DetailsTemplateSchema.TemplateBlob] = detailsTemplate[DetailsTemplateSchema.TemplateBlobOriginal];
            detailsTemplate.MAPIPropertiesDictionary            = MAPIPropertiesDictionaryFactory.GetPropertiesDictionary();
            detailsTemplate.BlobToPages();
            return(detailsTemplate);
        }
Example #3
0
        protected override void WriteResult(IConfigurable dataObject)
        {
            DetailsTemplate detailsTemplate = dataObject as DetailsTemplate;

            if (detailsTemplate.Language != null)
            {
                detailsTemplate.MAPIPropertiesDictionary = MAPIPropertiesDictionaryFactory.GetPropertiesDictionary();
                detailsTemplate.BlobToPages();
                if (this.Identity == null || !detailsTemplate.Identity.Equals(this.Identity.RawIdentity))
                {
                    detailsTemplate.MAPIPropertiesDictionary = null;
                }
                base.WriteResult(dataObject);
            }
        }