-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
13Questions
-
9Replies
show file upload dialog - javascript
Hi all,
I am using a custom button.
I want to show user a file upload dialog to user when he clicks the custom button.
Did anyone have idea how to do it?
Tnx,
- minci
- June 03, 2013
- Like
- 1
- Continue reading or reply
Can not show error when handling export
Hi all,
I have a trigger that in siered when inserting and updating Accounts.
Every Account in my system has End_Date (datetime filed) I am checking in the trigger if the user
Is not inserting two accounts with the same End_Date.
The trigger is working just fine.
NOW, When importing many accounts the trigger does not shows error message or blocks the import!
How can I fix it?
Remark: I am using the account.addError('Error : same date account not allowed!');
Thanks!
Emil
- minci
- September 15, 2010
- Like
- 0
- Continue reading or reply
Another Batch Apex issue: class members.
I wrote somthing like this to check the way class fields are
behaving in Batch apex:
This code counts number of times execute method was called
For my surprise I saw that I get only 1 in the debug logs!
Code:
global class To_Bach implements Batchable{
global Integer _i;
global Bach(){
_i = 0;
}
global
global void execute(){
_i++;
System.debug('times visited '+i);
}
}
SO! How thies field behave?
What am I missing?
Thanks!
- minci
- August 24, 2010
- Like
- 0
- Continue reading or reply
Mysterious Batch Apex issue.
Hi all,
I am running a vatch apex application.
The query that I use returns (just for now!!!!) 398 Accounts.
I got unexpected results. So, I looked and the debug logs...
WELL It turns out that the execute() method was called just with the first 200 records and thats it!
I havn't noticed a second call with the rest 198 records and the Batch finished its execution.
There is nothing more to wait for. (I write this because I know Bach Apex is asynchronious).
Have anyone face such a strange situatiion? How can I make it work well?
Thanks,
- minci
- August 23, 2010
- Like
- 0
- Continue reading or reply
Batch Apex issue!
Batch Apex looks like programmes heaven.
But I can not find information about limitations in list size in batch apex.
Generally I it clear how batch apex allows programer access more records than in "Normal Apex".
But what are the limitations in number of script lines , SQL query (a query in the execute function code)
, collections limits , heap limits ect.
Thank you in ahead!
- minci
- August 22, 2010
- Like
- 0
- Continue reading or reply
How to sule Batch apex class?
Strange but when i am trying to choose a class to be schedules by salesforce
I van not choose a Batchable class.
Is there any other way runnung batch Apex? In all tutorials it is clearly said:
"Run you batchable class using the scheduler"! what am i missing?
Regrads,
- minci
- August 18, 2010
- Like
- 0
- Continue reading or reply
Query violattion.
I wrote the query:
Select count() from Account
I have around 20,000 accounts in the system.
So how am I suppouse to get their number in the system?
Thanks!
- minci
- August 15, 2010
- Like
- 0
- Continue reading or reply
2 triggers on on sObject - question
Hi.
In my system I have 2 triggers on one Account.
The problem is that I must ensure the one triggers executes first and the seccont just after it.
How can I do it?
Thanks!
- minci
- August 11, 2010
- Like
- 0
- Continue reading or reply
How to synchronize?
I gou the following message:
Save error: Conflict found while preparing to save 'DongleUpdateNotifier.cls' to server. Remote
instance has been updated since last save or sync. Use the Synchronize Perspective to resolve the conflict.
- File only saved locally, not to server
I have read the sychronuzation tutorials and still I can't do it!
in one tutorial i saw that some synchronization button is mentioned.
In the synchroniuzation tool in eclipse i have yo write my host adress
BUT i have not a unique ip! So what can i do?
Thanks!
- minci
- August 10, 2010
- Like
- 0
- Continue reading or reply
Strange compilation error
I wrote this code :
List<Contact> contactsToCount = [Select Id, Account from Contact where Account in : account_id_list];
Tkan i got an compilation error saying that there is not sych a field
Account in sObject contact.
Contact is being given by salesforce ans so the field Account (Label : Account Name).
Can someone tell me what is the p[roblem?
Thanks!
- minci
- August 09, 2010
- Like
- 0
- Continue reading or reply
Problem with Sandbox account in eclipse
Hi,
I am trying to log in into my sandbox account using
the username : me@company.sanboxSuffix but the log in faills.
the production username is logging succesfuly.
I saw an old post about the same problem but I don't understand the answer.
the answer was about wrong SOAP endpoint.
Can someone explain to me what is that SOAP endpoint?
Or tell me what is the problem with my login.
Thanks.
Emil.
- minci
- August 05, 2010
- Like
- 0
- Continue reading or reply
Apex trigger - udelete
Hi,
Can someone please tell me how can i acess the sObjects that provoced the undelete trigger?
I know that new and old are useless in that case.
SO what is the solution?
Thank you!
- minci
- June 15, 2010
- Like
- 0
- Continue reading or reply
Problems when conneting with eclipse
I have installed the Apex plugin for eclipse.
Everything was fine BUT for some reason I can't start writing a new project.
When I am trying to open a new project i get a window asking for user name, password, and security token.
Well user name and password i guess were fine but security token...
I have received a security token to my mail account than i copy & pasted it on the security account textbox
but still i get an error message "one of the entered details are wrong".
What I am missing?
Thanks!
- minci
- May 29, 2010
- Like
- 0
- Continue reading or reply
show file upload dialog - javascript
Hi all,
I am using a custom button.
I want to show user a file upload dialog to user when he clicks the custom button.
Did anyone have idea how to do it?
Tnx,
- minci
- June 03, 2013
- Like
- 1
- Continue reading or reply
show file upload dialog - javascript
Hi all,
I am using a custom button.
I want to show user a file upload dialog to user when he clicks the custom button.
Did anyone have idea how to do it?
Tnx,
- minci
- June 03, 2013
- Like
- 1
- Continue reading or reply
Mysterious Batch Apex issue.
Hi all,
I am running a vatch apex application.
The query that I use returns (just for now!!!!) 398 Accounts.
I got unexpected results. So, I looked and the debug logs...
WELL It turns out that the execute() method was called just with the first 200 records and thats it!
I havn't noticed a second call with the rest 198 records and the Batch finished its execution.
There is nothing more to wait for. (I write this because I know Bach Apex is asynchronious).
Have anyone face such a strange situatiion? How can I make it work well?
Thanks,
- minci
- August 23, 2010
- Like
- 0
- Continue reading or reply
Batch Apex issue!
Batch Apex looks like programmes heaven.
But I can not find information about limitations in list size in batch apex.
Generally I it clear how batch apex allows programer access more records than in "Normal Apex".
But what are the limitations in number of script lines , SQL query (a query in the execute function code)
, collections limits , heap limits ect.
Thank you in ahead!
- minci
- August 22, 2010
- Like
- 0
- Continue reading or reply
Query violattion.
I wrote the query:
Select count() from Account
I have around 20,000 accounts in the system.
So how am I suppouse to get their number in the system?
Thanks!
- minci
- August 15, 2010
- Like
- 0
- Continue reading or reply
2 triggers on on sObject - question
Hi.
In my system I have 2 triggers on one Account.
The problem is that I must ensure the one triggers executes first and the seccont just after it.
How can I do it?
Thanks!
- minci
- August 11, 2010
- Like
- 0
- Continue reading or reply
Strange compilation error
I wrote this code :
List<Contact> contactsToCount = [Select Id, Account from Contact where Account in : account_id_list];
Tkan i got an compilation error saying that there is not sych a field
Account in sObject contact.
Contact is being given by salesforce ans so the field Account (Label : Account Name).
Can someone tell me what is the p[roblem?
Thanks!
- minci
- August 09, 2010
- Like
- 0
- Continue reading or reply