You need to sign in to do that
Don't have an account?
Devendra Keshari
create a action button in lightning to redirect a report object using merge fields of account objects
Hello all,
I am facing an issue with lightning action button on account object on pressing the button it should be redirect to report object with merge field value of account object.
Please let me know how to implements in lightning.As i am new in lightning.
Thanks in advance!!!!
I am facing an issue with lightning action button on account object on pressing the button it should be redirect to report object with merge field value of account object.
Please let me know how to implements in lightning.As i am new in lightning.
Thanks in advance!!!!
https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_rd_reports_filter_url.htm
https://na1.salesforce.com/one/one.app#/sObject/00OR0000000PCHYMA4/view?t=1479844235107&fv0=New%20Business
Let's take a closer look at what the parameter means.
& — Denotes a new parameter in the URL. If no other parameters are present in the URL, then substitute ? in place of &.
fv0 — The fv stands for "filter value," and is the name of the parameter. The 0 is the numerical order in which the filter appears in the report. (The first filter is 0, the second filter is 1, the third is 2, and so forth.) Standard filters don’t count in this order, and can’t be filtered using URL parameters, although they appear as the first three filters on any report. To set the value of the fifth filter in the report, specify fv4. In our example, we're filtering the first field filter in the report, the Type filter.
The order in which filters appear in Lightning Experience on the report run page isn't necessarily the order that filters appear in the report. Locked filters are listed beneath unlocked filters on the run page, but aren't necessarily ordered after all the unlocked filters.
To see the order of filters in your report, refer to their order in the Report Builder.
Alternatively, make a GET call to /services/data/v39.0/analytics/reports/<report ID>/describe and note their order in the JSON response.
=New%20Business — Specifies that the Type filter value is New Business.
The parameter value must be URI encoded, which means certain characters (such as spaces) must be written in a format that URLs can understand. In our example, the space (' ') between "New" and "Business" becomes %20 when URI encoded.