
There may come a time when you have a common page that is loaded onto multiple entity pages in the SalesLogix web client. OOTB examples of this are the History and Activity lists that appear on various pages. The Entity Bound Smart Part coontrol class that smart parts are based on has a built in EntityContext service. From this service you can then determine what entity type the current page is bound to by using code like so:
string myEntityName = EntityContext.EntityType.Name.ToUpper();
you can also use the same service to get the current ID of the entity like
string id = EntityContext.EntityId.ToString();
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!