• ankita choudhary 22
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
  • 3
Can we use Rest URI as a endpoint url in Outbound message?Please advice.
Hi all,
i need to get data using accountid or accountId/serviceId in the url of rest api both service and account are related to each other by subscription object,in the output we will get services and cases ,how to achieve that using rest api? please help.
Hi Geeks,

I am facing an error while checking the below challenge.

Your team's doing great, but how does next month look? Build a lens to visualize the product sales pipeline. Start by exploring the DTC Opportunity dataset. Under Bars, group by Close Date, and then group by Forecast Category. Change the measure from Count of Rows to Sum of # (quantity). Filter to show only open opportunities. Change the chart type to Timeline, and note that Forecast Category is now represented as bar segments. Then save the lens as Sales Pipeline Overview in the My Exploration app you created earlier.
  • Dataset: DTC Opportunity
  • Bars: Close Date (Year-Month)
  • Bar Segments: Forecast Category
  • Bar Length: Sum of #
  • Filters: Closed false
  • Chart Type: Timeline
  • Lens Name: Sales Pipeline Overview
  • App: My Exploration
There was an unhandled exception. Please reference ID: BTCZLJPH. Error: Faraday::ClientError. Message: 550: Lens State conversion has failed using converter insights.api.converters.DashboardState_V43r0_V44r0. Cannot open lens with new Wave Charts in API version below 40.0

User-added image

I have created the Lense as follows:

User-added image
Can somebody please help me out here how to measure based on the sum of # instead of a count of rows or sum of the amount because on my case # is not appearing on the creating lens window Thanks in advance. PFB more details.

User-added image



I am trying to add error message by using adderror method. But it is throwing an error like this.



A problem with the OnClick JavaScript for this button or link was encountered:
{faultcode:'soapenv:Client', faultstring:'System.FinalException: SObject row does not allow errors
Class.InTheMarketOpportunity.marketOpportunity: line 8, column 9External entry point', }




Am executing this code.


    global class InTheMarketOpportunity{    webservice static void marketOpportunity(String accountid,String solicitid,String state,String city){    Account a=new Account();         list<Opportunity> marketAccount= new List<Opportunity>();        marketAccount=[select Id,AccountId from Opportunity where In_The_Market__c =: accountId];        if(marketAccount.size()>0){        In_The_Market__c acc=[select Id from In_The_Market__c where Id =: accountId];        acc.addError('Already created');        }    system.debug(':::::HERE::::::'+accountId);