-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from cathalnoonan/features/v2
v2.0.0 - Remove undocumented 'context.page' to get the entityId / entityLogicalName
- Loading branch information
Showing
11 changed files
with
106 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Building | ||
|
||
The solution can be built by double clicking the `build.bat` file at the root of the repository | ||
- This will install the npm dependencies using `npm` | ||
- Then it will build the solution (which will in turn build the control) using `dotnet` | ||
- The resulting solution(s) will be built to `dist` in the repo root as a zip file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Configuration | ||
|
||
When adding the control to a field, drag an unused field onto the form in it's own section | ||
|
||
The control behaves as an unbound control in that it does not use the value field it is bound to in any way, so it doesn't matter what field is used for the control | ||
|
||
Un-check the `"Display label on the form"` field on the first tab | ||
|
||
The control can be bound to any of the following field types, these are the types supported by the framework | ||
- Currency | ||
- DateAndTime.DateAndTime | ||
- DateAndTime.DateOnly | ||
- Decimal | ||
- Enum | ||
- FP | ||
- Multiple | ||
- OptionSet | ||
- SingleLine.Email | ||
- SingleLine.Phone | ||
- SingleLine.Text | ||
- SingleLine.TextArea | ||
- SingleLine.Ticker | ||
- SingleLine.URL | ||
- TwoOptions | ||
- Whole.None | ||
|
||
The following configuration values are required to render the control | ||
|
||
| Name | Description | | ||
|:--- |:--- | | ||
| Field | Field that the control will be bound to | | ||
| Process Type | Type of process sessions to include in the control | | ||
| Entity ID | Bind to the Primary ID field of the entity | | ||
| Entity Logical Name | Type the logical name of the entity | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Migration from V1 to V2 | ||
|
||
After importing the V2 (or higher) solution to the environment, the control | ||
configuration needs to be updated to add the new properties. | ||
|
||
The new properties added in this version are: | ||
- Entity ID | ||
- Entity Logical Name | ||
|
||
To add the new properties, find the forms where the control is used, and double | ||
click on the control. | ||
|
||
Set the `Entity ID` property to the primary ID field of the entity: | ||
- i.e. for "Account", this will be "accountid" | ||
- i.e. for "Contact", this will be "contactid" | ||
|
||
Set the `Entity Logical Name` property to the logical name of the entity: | ||
- i.e. for "Account", this will be "account" | ||
- i.e. for "Contact", this will be "contact" | ||
|
||
Save and publish the form, and make sure the changes are deployed to your other | ||
environments after the control is imported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters