From 081251bcea3fd928f8aee9490987f007e1359d21 Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Tue, 20 Aug 2024 12:56:19 +0200 Subject: [PATCH 1/4] Docs regarding email picker --- .../Controls/emailpickercontrolshared.png | Bin 0 -> 6888 bytes .../applications/controls/emailpicker.md | 245 ++++++++++++++++-- 2 files changed, 225 insertions(+), 20 deletions(-) create mode 100644 src/.vuepress/public/.attachments/applications/Controls/emailpickercontrolshared.png diff --git a/src/.vuepress/public/.attachments/applications/Controls/emailpickercontrolshared.png b/src/.vuepress/public/.attachments/applications/Controls/emailpickercontrolshared.png new file mode 100644 index 0000000000000000000000000000000000000000..6fa650f90c5346460319ae0a6e77465876a3b10e GIT binary patch literal 6888 zcmb7}WmFWoqqzyPC-op1EW5X=*|N7pC)iuG4#T~pkn{e!hEaEhQ`343x2Dl zpzCjXuuQB;ZnuJuu05I;&Jn`SnI#DRajE1${9Yp5lmB@auN$0;ZXw_LC!JXWHZNnL zu2#kC;jdyQjW0B5WGqq4jy^>P}a7aUz@b zG70<{llpq&NVw7Va-My@8x@?ptd?zKD-U4agx(W9zWW#XwDQS7QSw}x1k6g$Dayel zEF^@wAOI-<_XRT;0LJ=G0>S}>{maBEkY@*zglYc2=}Fvl<-u(Rkmylt%B#*ieps!z z*+XpYcu%!qb?k?NbbeN_DzFHD7xh8Y9bW+TI?eZl_08{S@`i#P%A>^7x<@DGLh?&X zHyDhR%Ja!R*vz;#z=*SnR99V^5!%%JaAH=(-W~0D*5Aey!WW+jjfmJ&Os$s%p;~&v#ci`PRYWB%6_Xqx`Xjg)2TJR zpm?I89WgDf?E(CnIVC->-{%p%xGdbY<8(idtexy%*|;6S=WVt-qbfuf3E~L9sCz(F ziz+ORIn>lOki?Jct#(wo*x&w+t9@TsvsE@{6MZ(_W%of*d?wN7`hl%S$sKkdqTv+U=qQ1wLb0HK>Z{C1w0g*?) z&#QCA-)P+S==WY4`LC`GT&?irSe5TcbdPj%f|*=Kj)h+nuUmA91$^2zp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Pe-i9|k48o(q z&`4a_hF_o#P&NngP5-?L4$Q(DN$o=q>ssW&b%m{pHug#7#)oTM54h{bX~wbwt-8&!1Pum~y>U4lJ3fnp~Jat%W&$5@d0 zON4x}YM9aoF_5Wl!CH}bq;jlr?+nX$>T@40sTeYfs3k+NuiFK!@@&F2-HS*gjt`}n z+}gM&^f{s*I1{+IfFGzU>)deND?TrpvDE*_rzL*F^aifwd$L~EXlZdC*s}D^*SgWC zyZ!SF*YcHC_NQ5?8$3m_9;}0n6&?XBGHiOWtF}~L{=vkVLWO1m<_H~scF4ivWNrTb z;~&;$7`AA~fbZ{(w2HzN+gr9fF_HVnX!3oUD9nd_{0M&igaganlxDeIEmP{mx;Q3M33gr#IW~q1z zA9mt!mKIXmM_){_G@UPX=ss!P?CYL{1(rzT(N839O(_jz%4cG47td|lANT7olpI#o zcPCPMZ#h|VHk=mTqWP9ilPEp4JDgmGvN|Y>(*3cI2>OdZ`a||Ij3DH4TMs6D>5xxX z@HQ9U=2UjtRK+H~`xfUCo2h^npn0CJDGRR>5jLK?jRu5j#jpN;R&IHSO8G61IFH3Y za#8bUyVS~mRpjpkl(v$d41@vP(o7XnVWg49T?zs+v?A?X9qbmI@wTZya-SlK_Sp(M z64hCzAefMv=n0szJj-!dq5)1y0Wd&K_JpTnm9nfSFJb6td|`*ehv}X(m}PWlC{nvr z>A}v_e`h0;sgxnPoVd)FCm$J1*t*GXe-+i^ed8YaSP2;2nJtWRfvXs@Q4n00!wDHG z?O*eL-Dy&Mj2B@Bw?#eBJAeS~%KuxeLOlu*jXk2L{SS0$Tji9yCP0Y^{bxo;i>ogj zyc&j&p2~Yj<)@vGGL!j7VT4}kD*lf!=D!c>{y%o3fbmEyPM~cRR7@TGk4|B{eXXtp I1(}Ec7q5d!y#N3J literal 0 HcmV?d00001 diff --git a/src/en/developer-guide/applications/controls/emailpicker.md b/src/en/developer-guide/applications/controls/emailpicker.md index b6ff15bc8..25f8dc0ad 100644 --- a/src/en/developer-guide/applications/controls/emailpicker.md +++ b/src/en/developer-guide/applications/controls/emailpicker.md @@ -1,31 +1,236 @@ --- -Author: Jan Losenicky +Author: Safija Hubljar --- # Email Picker -# Visual Example +Provides features that extend the native Email field control. This includes checking the format of the entered email and also provides an optional verification feature. If verification is enabled, the control will check whether the entered email is verified and the verification status will be displayed directly in the control. Additionally, the control allows the user to initiate the verification process directly through the control if the email is not verified. -![Email Picker Displayed On Form](/.attachments/applications/Controls/emailpickercontrol.png) +![Email Picker Displayed On Form](/.attachments/applications/Controls/emailpickercontrolshared.png) -# Description -This control is used to enter an emails in field. It is checking the format of email and also there is a function to verify the email. +## Bindings -![Email Picker Displayed On Form](/.attachments/applications/Controls/emailpickerverifying.png) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Property NameDescriptionOf TypeInputOutputUsageRequired
dataBinding field containing array of e-mail objects. +

SingleLine.Text

+
+

[ + { +
+ "asyncJobInstanceId": null, +
+ "buttons": [], +
+ "deleteButtonProps": { + "key": "remove", + "showOnlyOnHover": true, +
+ "iconProps": { +
+ iconName: "ChromeClose" + } + }, +
+ "key": "test@hotmail.com", +
+ "name": "test@hotmail.com", +
sf + "status": "unverified", +
+ "verifiedOn": null +
+ } +] +

+
[{"email":"test@hotmail.com",
"status":"unverified"}]
boundtrue
entityName

Entity name of the record the EmailPicker is on. Required if verification feature is on.

SingleLine.Text + account + N/Ainputfalse
recordIdPrimary key of the record the EmailPicker is on. Required if verification feature is on.SingleLine.Text + accountid + N/Ainputfalse
contactSuggestionFetchXmlFetchXml that will replace default for filtering contact email suggestions.SingleLine.Text +

<fetch> + <entity name="contact"> + <attribute name="firstname" /> + <attribute name="lastname" /> + <attribute name="emailaddress1" /> + <filter> + <condition attribute="emailaddress1" operator="like" value="{{text}}%" /> + </filter> + <link-entity name="talxis_connection" from="talxis_record1id" to="contactid"> + <attribute name="talxis_record1id" /> + <filter type="and"> + <condition attribute="talxis_interceptor_placeholder" operator="ne" value="$contactsInAccount$" /> + </filter> + </link-entity> + </entity> +</fetch>

+
N/Ainputfalse
accountSuggestionFetchXmlFetchXml that will replace default for filtering account email suggestions.SingleLine.Text +

<fetch> + <entity name="account"> + <attribute name="emailaddress1"/> + <attribute name="name"/> + <filter> + <condition attribute="emailaddress1" operator="like" value="{{text}}%"/> + </filter> + <order attribute="emailaddress1"/> + </entity> +</fetch>

+
N/Ainputtrue
minEmailCountField that represents the number of required emails.Whole.None +

2

+
N/Ainputfalse
maxEmailCountField that represents the maximum number of emails that can be inputted.Whole.None +

5

+
N/Ainputfalse
minVerifiedCountField that represents the number of emails required to be verifiedWhole.None + 3

+
N/Ainputfalse
verificationFeatureEnable the functionality for verification email. +

Enum

0

+

1

N/Ainputtrue
emailEditEnable the email editing.Enum +

0

+ 1

+
N/Ainputfalse
emailSuggestionsEnable suggest emails from existing accounts and contacts.Enum +

false

+ true

+
N/Ainputfalse
clickToCopyEnabledEnable click to copy button.Enum +

false

+ true

+
N/Ainputfalse
plainEmailBinding field returning first email from `E-mail Data Field` in plain text.

SingleLine.Email

+

SingleLine.Text

+
+

test@hotmail.com

+
test@hotmail.comboundfalse
-# Binding Field +## Changelog -Control can be binded to any field on form of type SingleLine.Text. - -# Inputs - -- Min Mail Count - Minimum of emails imputed -- Max Mail Count - Maximum of emails that can be imputed -- Verification Feature - - Disabled (default) - - Enabled - -Using Verifying -- Entity Name - Entity name of the record the EmailPicker is on. Required if verification feature is enabled. -- Record Id - Primary key of the record the EmailPicker is on. Required if verification feature is enabled. \ No newline at end of file +

2024-08-16

+

Changed

+
    +
  • Changed PCF to use latest shared component
  • +
\ No newline at end of file From 7fdbd6991503cc22342a2768aefc80583ceba6bf Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Tue, 20 Aug 2024 13:05:09 +0200 Subject: [PATCH 2/4] Bug fix --- src/en/developer-guide/applications/controls/emailpicker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/developer-guide/applications/controls/emailpicker.md b/src/en/developer-guide/applications/controls/emailpicker.md index 25f8dc0ad..a04df3235 100644 --- a/src/en/developer-guide/applications/controls/emailpicker.md +++ b/src/en/developer-guide/applications/controls/emailpicker.md @@ -79,7 +79,7 @@ Provides features that extend the native Email field control. This includes chec Primary key of the record the EmailPicker is on. Required if verification feature is on. SingleLine.Text - accountid + 5b34e4fd-a937-ef11-8409-0022489d8923 N/A input From 3594ee2e76ec5a2d0ddf616b280d6086411b88b4 Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Wed, 21 Aug 2024 09:38:56 +0200 Subject: [PATCH 3/4] Bug fixes --- .../applications/controls/emailpicker.md | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/en/developer-guide/applications/controls/emailpicker.md b/src/en/developer-guide/applications/controls/emailpicker.md index a04df3235..e7673274b 100644 --- a/src/en/developer-guide/applications/controls/emailpicker.md +++ b/src/en/developer-guide/applications/controls/emailpicker.md @@ -35,31 +35,17 @@ Provides features that extend the native Email field control. This includes chec
"asyncJobInstanceId": null,
- "buttons": [], -
- "deleteButtonProps": { - "key": "remove", - "showOnlyOnHover": true, -
- "iconProps": { -
- iconName: "ChromeClose" - } - }, -
- "key": "test@hotmail.com", -
- "name": "test@hotmail.com", -
sf "status": "unverified",
"verifiedOn": null
+ "lastVerifiedEmail":"test@hotmail.com" } ]

- [{"email":"test@hotmail.com",
"status":"unverified"}]
+

[{"email":"test@hotmail.com",
"status":"unverified"}]

+

undefiend

bound true From fc46b0389c2585500b68f55d43d33aece441cd45 Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Wed, 21 Aug 2024 09:44:18 +0200 Subject: [PATCH 4/4] Minor changes --- src/en/developer-guide/applications/controls/emailpicker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/developer-guide/applications/controls/emailpicker.md b/src/en/developer-guide/applications/controls/emailpicker.md index e7673274b..00b398c2b 100644 --- a/src/en/developer-guide/applications/controls/emailpicker.md +++ b/src/en/developer-guide/applications/controls/emailpicker.md @@ -39,7 +39,7 @@ Provides features that extend the native Email field control. This includes chec
"verifiedOn": null
- "lastVerifiedEmail":"test@hotmail.com" + "lastVerifiedEmail":"test_test@hotmail.com" } ]