Setting Entity properties

Go to TopicNew TopicRepliesShow all messages

Topics

Author

Date

Setting Entity properties  
shashidhar 11.06.08

Error when trying to go offline and s...    What about ConcourseCRM?

 Setting Entity properties

Replies
Author:shashidhar (121.246.229.249.static-hyderabad.vsnl.net.---)
Date:11.06.08
I am trying to create a new entity in crm and assign some properties and values to existing/new properties. Below are to two approaches I am using, one of them works fine but not both sometimes either of them won’t work. (I already defined properties using CRM properties for example StringProperty, LookupProperty)



1) DynamicEntity dyEntity = new DynamicEntity();

dyEntity.Name = EntityName.invoice.ToString();

ArrayList Props = new ArrayList();

dyEntity.Properties = (CrmService.Property[])Props.ToArray(typeof(CrmService.Property));







2) DynamicEntity dyEntity = new DynamicEntity();

dyEntity.Name = EntityName.invoice.ToString();

ArrayList Props = new ArrayList();

dyEntity.Properties = new Property[Props.Count];

for (int j = 0; j < Props.Count; j++)

dyEntity.Properties[j] = (Property)Props[j];


Reply To This Message

Your Name:
Your Email:
Subject:
Message:
Email replies to this thread to the address above.
 
By posting to the forum your hostname will be registered and shown with your message. Once sent contributions no more cannot be edited or deleted.

QuotePost

SM Studio
The Content Management PortalThe Document Management PortalThe IT Security PortalThe Customer Relationship Management PortalThe E-Commerce PortalThe Enterprise Resource Planning PortalPortal on VoIP and mobile communication The directory of Clinic IT SolutionsThe directory for IT professionals
homeimprintprivacy policycontactadvertising

Subscribe to the newsletter


Your email:

Quick search