The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
41 views

Batchable class variable shows as NULL in finish() method

Sorry if the format is not good, first post ever and I don't know what all the options are. totalRecords list size is printing as NULL in the email message body, I cannot figure out why. global ...
3
votes
1answer
48 views

Is it required for Security Scanner - global with sharing myBatch implement Database.Batachable<sObject>

I am about send my package for Security Scanner, So Is there any requirement to add "with Sharing" for all of my Batch Classes. global with sharing myBatch implement ...
4
votes
2answers
53 views

Is the @IsTest annotation compatible with the global access modifier?

Has anyone wanted to provide a 'Test tool' with a managed package? Something like: @IsTest global class SomeTestHelper { global String findSomething() { return '...'; } } that you ...
1
vote
1answer
36 views

Execute global batch job from installed package

How to execute global batch job from installed package: NS__BirthdayBatch bb = new NS__BirthdayBatch(); Database.executeBatch(vb); When I try ti run this code in dev console or workbench I am ...
6
votes
1answer
76 views

How to search through global methods of managed packages?

You can see global methods in the managed package classes via Web UI. I have hundreds of managed package API classes that I need to search through by a keyword, to find a method that does what I need ...
3
votes
1answer
75 views

Can't create apex page which uses controller extension via apex-mdapi

I have a class in my managed package: global class myExtensionClass - which is extenison controller. I installed this package in test salesforce developer account. When user click one of the button ...
2
votes
2answers
483 views

What is Interface method in salesforce

I have a very simple doubt regarding this Interfaces in sales force, Actually what it says is "This class will have a method but the body will be empty. And body for this method will be provided in ...
2
votes
2answers
323 views

Get the caller class name in apex without passing parameter

I have three class namely A,B,C and each calls other class methods. Now my problem is getting the caller class name in called method without passing parameters to the called method. Is there any way ...
0
votes
1answer
115 views

Can we keep @Readonly in the global class after releasing package for next version

After adding @ReadOnly annotation before the global method throws the following error. Error: Compile Error: Managed identifier can not change its ReadOnly setting at line xx column xx
1
vote
1answer
200 views

Create a OwnerId method

I want to create a OwnerId method which takes in an opportunity as input , stores all OwnerId's from that Opportunity in a list and returns that list. Here is what I have so far: public static ...
1
vote
0answers
58 views

InstallHandler not working

I have created a product and have it as a package and try to install into new env. I have a custom setting i am trying to create records into custom setting after the package get installed but i am ...
6
votes
2answers
223 views

How to develop global interface

I'm working on a project that is extended by another package. The base package contains a global interface that will be implemented in the extension package. I'm having some problems with the ...
4
votes
2answers
369 views

How do you deprecate a global method in a managed package?

This is semi-related to another question of mine: Is there any way to clean up redundant tabs/settings/pages/etc from managed packages? However, it is a bit different. Once you've added a global ...