© 2015 X2Engine Inc.
Difference between revisions of "Frequently Asked Questions"
From X2Engine
(→Custom modules) |
|||
Line 1: | Line 1: | ||
[[Category:Support]] | [[Category:Support]] | ||
+ | = API = | ||
+ | == Contacts == | ||
+ | === I made a contact through the API. Why doesn't the assignedTo field get set according to lead routing rules? === | ||
+ | When creating records through the API, all fields must be explicitly defined. One can, however, obtain an assignee for a new contact that is distributed according to lead routing type via the public [x2propdoc:AdminController.html#_actionGetRoutingType|"getLeadRoutingType" action of AdminController]. An example of this can be found in [x2doc:ApiModel|] | ||
+ | |||
= Customization = | = Customization = | ||
Revision as of 19:36, 11 November 2013
Contents
API
Contacts
I made a contact through the API. Why doesn't the assignedTo field get set according to lead routing rules?
When creating records through the API, all fields must be explicitly defined. One can, however, obtain an assignee for a new contact that is distributed according to lead routing type via the public [x2propdoc:AdminController.html#_actionGetRoutingType|"getLeadRoutingType" action of AdminController]. An example of this can be found in [x2doc:ApiModel|]
Customization
Custom fields
I made a custom field and it doesn't show up. Now what?
Once you create a field, you must add it to the view and form as you see fit, as follows:
- Go to "Admin"
- Scroll down to the section "Utilities"
- Go to "Form Editor"
- Open the views/forms for the model by selecting the model from the "Model" dropdown
- Select "Form (Default)" from the "Version" dropdown
- Drag and drop the custom field into the form where it is desired.
- Hit "Save"
- Repeat the process with the "View" to change the record view page for the model type.
Custom modules
Why don't I see anything when I go to create/view a record in a new custom module?
The first step after creating a custom module is designing a form and view for it. To do so:
- Go to "Admin"
- Scroll down to the section "Utilities"
- Go to "Form Editor"
- Open the views/forms for the model corresponding to the new module by selecting it from the "Model" dropdown
- Select "Form (Default)" from the "Version" dropdown
- Drag and drop the custom field into the form where it is desired.
- Hit "Save"
- Repeat the process with the "View" to change the record view page for the model type.