Skip to main content
Group

UnleashYourSalesforce

Become the Best Selling Organization in the World

Hello!

My name is Ievgen Kyselov. 

I’m a Salesforce developer.

Continuing my article about the query management philosophy in development, I’d like to present a new feature. 

The new feature allows you to save time and effort if you deal with multi-level nested queries that should be processed with the help of many batch classes to retrieve the resulting records to your business logic custom batch.

Let’s say you may need to handle 3-4 batch classes before you get the corresponding records that you can use in the target batch class or in some other class. Those auxiliary batch classes may vary in quantity, in order of execution, so you have to create new batch classes over and over adapting them to your business logic for retrieving the records.

From now on it’s not necessary. You can use the new Query Manager feature for that. 

Also, you don’t need to change the code to change the filters and querying logic when you need. You just create the new query architecture or update the existing one in the friendly-user UI. All you need is to open the Query Manager APP after package installation.

The description of how it works and how you can use it is in the video.

0/9000

Hello! 

My name is Ievgen Kyselov. 

I’m a Salesforce developer and I’d like to represent to you my philosophy in development that I call query management.

This is the approach when your database requests are considered such as archived and dynamically changeable values that you can manage as object records: save, change, call inside the apex code, etc.

Also, you don’t need to change the code to change the filters and querying logic when you need. You just create the new query architecture or update the existing one in the friendly-user UI. All you need is to open the Query Manager APP after package installation.

More details about the Query Manager are in the video.

0/9000

I've created a copy of the Mass Edit VF page and button to work on a custom object in LEX, and everything is working great with one exception.  When I run the mass edit from a related list on my record and the changes save, the script drops me back at the related list's custom object tab instead of the record I was on when I clicked the button.  Does anyone know how/where to set the Return URL so it keeps the user on the originating record once changes are saved?

6 answers
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Oct 23, 2023, 7:09 PM

    @Ashish Tomar As the group owner are you able to help out here?

0/9000

My guess is this question isn't unique and a bunch of people have asked this. I can't find answer. How do we apply this to custom objects in the lightning experience. I don't see any javascript code. I see some visualforce pages and a few controllers, but any guide on how to implement for custom objects for lightning? 

2 answers
0/9000

I noticed that when I select Website fields to mass update, there is no text box field visible for me to input a new value. I looked at the Visualforce page and there is no line of code for website fields. Since the Visualforce page is locked behind the manage package, is there any way around this or is this something that the developer can do?

 

Unable to MassUpdate Website Fields

2 answers
  1. Evaldas Zaranka (Wise) Forum Ambassador
    Nov 11, 2022, 9:53 PM
    App developer only can change as it's managed package
0/9000
2 answers
0/9000
3 answers
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Jun 1, 2023, 9:16 PM

    Hello @Mohamed Seliman, you can encrypt standard fields on standard objects, but not all standards fields/objects are not supported yet.

    On task, it seems only Subject and Comment can be encrypted. On contacts all the name and contact points/addresses can be encrypted.

    https://help.salesforce.com/s/articleView?id=sf.security_pe_standard_fields.htm&type=5

    BR

    Eric

0/9000

Hi 

Using the app, https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003J6KcEAK&tab=d

 

I want to use the Mass Update on cases. How can I add this? I tried to follow the instructions of "copying code", but when i go to this button, i see the content from "Visualforce page" . How do i Manage this for cases? 

3 answers
  1. Apr 3, 2023, 3:54 PM

    @Ratna Teja Oh Okay! As per description says in AppExchange of this, I think Mass Update + Mass Edit + Mass Delete is only available for Leads, Accounts, Contacts, Opportunities records

0/9000

When trying to use Mass Update or Mass Edit buttons on a List View that is filtered by Cadence (HVS) we receive the following error: 

  • core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible. Please check permissions and make sure the object is not in development mode: No such relation 'ActionCadence' on entity 'Contact'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.. Original queryString was: 'SELECT Id FROM Contact WHERE ( ( Id in (select ContactId from CampaignMember WHERE (CampaignId = '701...'))) AND ( Id in (select ContactId from CampaignMember WHERE (Contact.RecordType.Name = 'Contact') and (Contact.Status__c = 'Attempting') and (not Contact.ActionCadence.Name LIKE '%research%'))) AND (id IN ('003...','003...','003...') ) ) ORDER BY Contact.Name ASC LIMIT 10000'

*IDs changed for security

After further research we noticed the APEX Class MassManager.ActionHubExtention is version 40.0 even after updating the app. We need it to be 45.0 or later. Is there any plans to update or can we no longer use this tool for this purpose?

0/9000

Hi there, I am not able to see the button even after I followed the post installation process in lightning. Any assistance? 

1 answer
  1. Jan 18, 2023, 6:56 AM

    Hy @EB Admin

    Please find the below steps and link maybe it will help you to resolve your issue.

     

    Click the arrow next to Customize, then the arrow next to Activities. Click Activity Search Layouts. Select Activities List View. Select Mass Update in the available buttons box on the left, and move it to the right using the arrows in the middle of the 2 boxes.

    Mass Update - Tasks (site.com)

    Salesforce List Views: Mass Update Records With Quick Actions (salesforceben.com)

     

    If it helps, close this query by selecting best answer.

    Thanks.

0/9000