-
Notifications
You must be signed in to change notification settings - Fork 23
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 #120 from mirzakobasevic/master
Documentation for InfoCard and AnnouncementCard PCFs
- Loading branch information
Showing
6 changed files
with
159 additions
and
0 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
Binary file added
BIN
+14.7 KB
...vuepress/public/.attachments/applications/Controls/InfoCard/accountinfocard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19 KB
...vuepress/public/.attachments/applications/Controls/InfoCard/contactinfocard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.2 KB
src/.vuepress/public/.attachments/applications/Controls/announcementcard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions
82
src/en/developer-guide/applications/controls/announcementcard.md
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,82 @@ | ||
--- | ||
Author: Mirza Kobasevic | ||
--- | ||
# Announcement Card | ||
|
||
This control serves to display basic information in the form of a card. | ||
|
||
<img src='/.attachments/applications/controls/announcementcard.png' /> | ||
|
||
|
||
Bindings | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>Property Name</th> | ||
<th>Description</th> | ||
<th>Of Type</th> | ||
<th>Input</th> | ||
<th>Usage</th> | ||
<th>Required</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>bindingField</td> | ||
<td>Binding field.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td></td> | ||
<td><code>bound</code></td> | ||
<td><code>true</code></td> | ||
</tr> | ||
<tr> | ||
<td>heading</td> | ||
<td>Card Heading.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td><code>Order</code></td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td>iconName</td> | ||
<td>JSON object that contains Webresource name or icon name from FluentUI.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td> | ||
<p><code>{ "fluentUiIconName": "LineChart" }</code></p> | ||
<p><code>{ "webResourceName": "talxis_infoicon.svg" }</code></p> | ||
</td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td>description</td> | ||
<td>Card Description.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td></td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td>actionLink</td> | ||
<td>Action link at the bottom of the card. Url without the domain.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td> | ||
<p><code>talxis_start/control/view?data={"entityName":"account","viewId":"{d71d546b-bc42-405b-9238-18792757aab1}"}</code></p> | ||
<p><code>main.aspx?appid=07bc5f7b-b043-ef11-bfe2-6045bd9fcae8&pagetype=entitylist&viewid={d71d546b-bc42-405b-9238-18792757aab1}&etn=account</code></p> | ||
</td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td>actionLinkText</td> | ||
<td>Label for Action Link.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td><code>LINK</code></td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
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,75 @@ | ||
--- | ||
Author: Mirza Kobasevic | ||
--- | ||
# Info Card | ||
|
||
This control displays basic contact/account information in the form of a card. If control is bound for SingleLine.Text, it displays information of the current user/account. By binding the control to the lookup field, it is possible to display the information of any contact/account. | ||
|
||
|
||
<img src='/.attachments/applications/controls/InfoCard/accountinfocard.png' height='300px' /> | ||
<img src='/.attachments/applications/controls/InfoCard/contactinfocard.png' height='300px' /> | ||
|
||
# Bindings | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>Property Name</th> | ||
<th>Description</th> | ||
<th>Of Type</th> | ||
<th>Input</th> | ||
<th>Usage</th> | ||
<th>Required</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>bindingField</td> | ||
<td>Binding field.</td> | ||
<td> | ||
<p><code>SingleLine.Text</code></p> | ||
<p><code>Lookup.Simple</code></p> | ||
</td> | ||
<td></td> | ||
<td><code>bound</code></td> | ||
<td><code>true</code></td> | ||
</tr> | ||
<tr> | ||
<td>mode</td> | ||
<td>Mode decides what the card will display (account, contact)</td> | ||
<td><code>Enum</code></td> | ||
<td> | ||
<p><code>contact</code></p> | ||
<p><code>account</code></p> | ||
</td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td>fetchXml</td> | ||
<td>FetchXML Query for filtering and displaying attributes.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td><pre><code><fetch version="1.0" mapping="logical"> | ||
<entity name="contact"> | ||
<attribute name="emailaddress1" /> | ||
<attribute name="emailaddress2" /> | ||
<attribute name="mobilephone" /> | ||
</entity> | ||
</fetch></code></pre> | ||
</td> | ||
<td><code>input</code></td> | ||
<td><code>false</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>actionLink</td> | ||
<td>Link for contact/account profile editing.</td> | ||
<td><code>SingleLine.Text</code></td> | ||
<td></td> | ||
<td><code>input</code></td> | ||
<td><code>false</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|