• SK0
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I'm trying to see if we can Enable Analytics described here (https://help.salesforce.com/articleView?id=bi_help_setup_basic.htm&type=5) using MetaData deploy or by making an API call to the org to automate it. I tried to set "enableInsights" flag in Analytics Settings. The flag got updated, but the UI still shows that "Einstein Analytics" is not enabled
<AnalyticsSettings xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enableInsights>true</enableInsights>
</AnalyticsSettings>

Is there any other setting I can update, as it looks like this flag is part of Feature Settings in the UI, and we need to update something in this setting to get the feature enabled.

User-added image
  • December 18, 2020
  • Like
  • 0
Hi,

I have below values in a string

String s1 = ' __valuesE-123456yes__'
String s2 = '__values2E-234567fail__'

I need to fetch only the values starting from 'E- to the next 6 digit values from the strings
Ouptut should be like : E-123456
E-234567

Can you please let me know how to achieve this?

Thanks