From 93cc5a9e77c54f8d1f673bba472e123eb4591a87 Mon Sep 17 00:00:00 2001 From: hagen-danswer Date: Mon, 17 Jun 2024 23:14:34 -0400 Subject: [PATCH] improved salesforce description text (#1655) --- .../app/admin/connectors/salesforce/page.tsx | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/web/src/app/admin/connectors/salesforce/page.tsx b/web/src/app/admin/connectors/salesforce/page.tsx index 020d9a3d2bd..8771b14f94b 100644 --- a/web/src/app/admin/connectors/salesforce/page.tsx +++ b/web/src/app/admin/connectors/salesforce/page.tsx @@ -221,13 +221,32 @@ const MainSection = () => { // formBody={<>} formBodyBuilder={TextArrayFieldBuilder({ name: "requested_objects", - label: "requested_objects:", - subtext: - "Optionally, specify the Salesforce object type you would like us to index by. For example, specifying the object " + - "'Lead' will cause us to generate a document based on each Lead. " + - "These documents would contain all the information for this Lead, including its child objects (E.g. associated contacts, companies, etc.). " + - "If no requested objects are specified, we will default to indexing by 'Account'." + - "Make sure to use the singular form of the object (E.g. Opportunity instead of Opportunities)", + label: "Specify Salesforce objects to organize by:", + subtext: ( + <> +
+ Specify the Salesforce object types you want us to index.{" "} +
+
+ Click + + {" "} + here{" "} + + for an example of how Danswer uses the objects.
+
+ If unsure, don't specify any objects and Danswer will + default to indexing by 'Account'. +
+
+ Hint: Use the singular form of the object name (e.g., + 'Opportunity' instead of 'Opportunities'). + + ), })} validationSchema={Yup.object().shape({ requested_objects: Yup.array()