• Robert Baillie 10
  • NEWBIE
  • 15 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 1
    Likes Given
  • 4
    Questions
  • 0
    Replies
I'm trying to embed the Service Appointment Management Snap-in into a Community, and I get the following error when I try to launch it:
User-added image

The result is the modal window displaying with the message "Try reloading the page or try again later."

I have followed the instructions here:
  • https://help.salesforce.com/articleView?id=embedded_services_appointment_home.htm&type=5
  • https://help.salesforce.com/articleView?id=rss_snapins_appointment_management.htm&type=5
The logged in user has the FSL Self Service Permission Set.

I've added the "Embedded Service Appointment Management" component to a community page that has no other components on it. The component has the "Embedded Service Appointment" set to a seemingly valid deployment configuration, setup as per the instructions referenced above.

The community is using a Customer Service template, and the Chat component has not been added.

I've set up a 'Default for FSL Snap-ins' for both:
  • Scheduling Policy
  • Operating Hours
I've also configured the community by:
  • Switched Clickjack protection to allow framing by any page
  • Adding https://service.force.com as a trusted site for scripts
  • Setting CSP to "Allow Inline Scripts and Script Access to Whitelisted Third-party Hosts"
In standard Salesforce Setup I have:
  • Added https://service.force.com the the list of CSP Trusted Sites in 'All' contexts
I feel like I've exhausted everything.

Has anyone ever managed to get this snap-in working? Can you think of anything I may have missed?
I'm using a lightning-datatable in LWC, and hooking into 'oncellchange' to ensure that any inline editing is automatically included in the underlying javascript data model immediately.

I then have another button 'Recalculate' that is not in the data-table, and this button will 'action' the change and perform some calculations elsewhere on page.

On click of the 'Recalculate' button, I would like the yellow highlights on the inline edited cells of the data-table to be cleared, but I can't work out how.  This is so the user can see that their changes have been applied.

Does anyone have any idea?
It looks like when I issue a SOSL statement against NAME FIELDS in ContentDocument, I get documents that have the search string *in the content* as well.

I really need it to just search the name fields, as requested.

Has anyone seen this behaviour / corrected it?

E.g. the following SOSL statements:

In developer console:
FIND {Bob} IN NAME FIELDS RETURNING ContentDocument(Id, Title ORDER BY Title) LIMIT 20

Or, in Apex
FIND :searchString IN NAME FIELDS RETURNING ContentDocument(Id, Title ORDER BY Title) LIMIT :MAX_SEARCH_RESULTS



 
Is anyone aware of any mechanism available to add or remove Lightning Favourites (top right star) using Apex or the APIs?
 
I'm trying to embed the Service Appointment Management Snap-in into a Community, and I get the following error when I try to launch it:
User-added image

The result is the modal window displaying with the message "Try reloading the page or try again later."

I have followed the instructions here:
  • https://help.salesforce.com/articleView?id=embedded_services_appointment_home.htm&type=5
  • https://help.salesforce.com/articleView?id=rss_snapins_appointment_management.htm&type=5
The logged in user has the FSL Self Service Permission Set.

I've added the "Embedded Service Appointment Management" component to a community page that has no other components on it. The component has the "Embedded Service Appointment" set to a seemingly valid deployment configuration, setup as per the instructions referenced above.

The community is using a Customer Service template, and the Chat component has not been added.

I've set up a 'Default for FSL Snap-ins' for both:
  • Scheduling Policy
  • Operating Hours
I've also configured the community by:
  • Switched Clickjack protection to allow framing by any page
  • Adding https://service.force.com as a trusted site for scripts
  • Setting CSP to "Allow Inline Scripts and Script Access to Whitelisted Third-party Hosts"
In standard Salesforce Setup I have:
  • Added https://service.force.com the the list of CSP Trusted Sites in 'All' contexts
I feel like I've exhausted everything.

Has anyone ever managed to get this snap-in working? Can you think of anything I may have missed?