Tech Friends,
How to link address entity to new custom entity in MSCRM 2011? I want to do something similar to contact entity which has linked address entity having multiple fields.
The same I want to do for custom entity. Thanks in advance.
The CustomerAddress entity is, frustratingly, locked to further relationships. You will need to create another custom entity to use as Address and link that back to Contact and Account (and hide the built in entity).
Related
First of all i'm new to Jhipster, i've read the official documentations but i still can't seem to find a solution to my problem (i've been stuck for almost 3 weeks now), that's why i decided to ask here for help.
So, i have an application where i need to create an entity called employee and i need to create a user account with the additional fields taht are specified in the employee entity, so in other words, when i fill the form to create a new employee that will not only create a new one but it will also automatically create a user account for that emplyee.
What i've tried doing up until now, is creating a new employee entity and link it with a OneToOne relashionship to the USER entity (created by Jhipster) but the thing is, in that case i would have to create a new user and then add the additional information for the employee, wheareas i need it to be in the same form, to create an employee and the user linked to it at the same time.
Any help will be really appreciated.
What you want to do is not supported off the shelf by JHipster, you have to code it manually.
In backend, you could do it by defining a DTO that combines both entities, a RestController that exposes it and a service that is responsible for orchestrating persistence.
In frontend, it's the same you have a component that contains the form to update this DTO and call your REST API.
Alternatively, if a User is always an Employee, you could also merge them in a single User entity.
Of course, this depends on which authentication type you selected which defines where users are managed.
I have a custom entity that I want to link with Address entity. Custom entity has one address field for now but I want this entity to save addresses like Account or Contact entity saves the addresses in Address entity.
I tried creating a 1:N relationship but that didn't work. Is it possible guys?
The Address entity is limited in that one cannot link other entities to it. In other words, there cannot be any relationships created other than what there is OOB. The Address entity is there for creation of addresses on Accounts and Contacts only.
You can create a custom entity same as Address and then You can Use Created
Entity as a Entity Reference and Store Your Information into CRM.
When registering a plugin step with the registration tool, there is option for "Secondary Entity". What is a Secondary Entity, and in what scenario would a CRM developer can use this option?
Thanks
Secondary entity is used for SetRelated and RemoveRelated messages, otherwise it should be null.
Secondary entity is child is the related entity of primary entity. Secondary Entity should used only when you want to trigger plugin for an event requiring two entities like the "SetRelated" message.
Please have look here: Link
There seems to be web services to create entity, fields, solution, global option set and many more within CRM 2011 SDK. However I don't see any web services to create a form for an entity. Anyone know any back door or ways to create a forms outside of CRM 2011 using C# or VB?
You'll have to spend some time looking at FormXml to fine-tune the look of your form(s), but you can programmatically manage your entity forms via the SystemForm entity.
FormXml is stored in the SystemForm entity. You can programmatically
retrieve and update the FormXml using this entity.
I have been asked to write a custom webpage in a web application integrated into a MOSS 2007 solution to allow users to create a teamsite using a custom template. No problem.
However, the user must have the ability to assign custom meta tags to the created team site to allow for specific searches, i.e. to assign country ("USA") and department ("Accounting") tags. Can anyone suggest a way of adding custom properties to the newly created team site via the SharePoint API?
Thanks, MagicAndi
There are 2 options:
You can use the Propertybag (SPWeb.Properties) of the SPWeb object of the new team site
You can add a list (invisble to users except admins) called "site tags" and add some items in there with key value pair fields i.e. item Country with value "USA" etc.