• SONAL G
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 5
    Replies
Hi,
I am sending an email through apex class to users. Email is going from (noreply@salesforce.com; on behalf of; XXX <xxx@xxx.com>.)
From user is current logged in user's email address which is my office email id. Previously it was working fine but now its has stopped. I checked Salesforce Email log file in column L value is "reading confirmation", Column O showing "550-5.7.1 Unauthenticated email from xxx.com is not accepted due to\r\n550-5.7.1 domain's DMARC policy".

Can anyone help me on this ?
Hi,
I have one field on Account whoes data type is Number(18,0) . From my one of visualforce page I am creating account record,that time i have added value to field as 999999999999999999.That time I am getting below error,
"value outside of valid range on numeric field: 1000000000000000000".
I have debug the value some how "999999999999999999" value is showing as "1000000000000000000" in apex log. How it is getting converted ?? I am not performing any conversion on it !!
And If i added "999999999999999999" from standard page it is taking same value !!
Can any one help me to find out what will be the reason that is taking "999999999999999999" as "1000000000000000000" from VF ??
Hi,
I have schedulable apex class included in manage package. Scheduled job run every 15 minutes after package installation.
However after sandbox refresh, the scheduled job is not running.  I checked 'Scheduled Jobs' listing. On listing, job name is there and its say it has run today and scheduled for tomorrow. But my apex class are not executing and no record is created in AsyncApexJob table.
I am trying for following scenario,
I am having VF page where user can select upto 500 products and for each product can select upto 71 states. When user selects any product or state I am iteraing data ,performing some calculations and showing to user instantly, after that all data I am storing in the wrapper class (memory), and when user click on save button only that time I am serialising wrapper class data and storing into database.

But when user selects 200 products with each 71 states it's throwing CPU limit exceeded error while adding to wrapper class!!
Also I tried to stored 100 products with 71 states for each product mannually to database just to check it accepts or not ?? it gave me STRING_TOO_LONG, Object Json: data value too large:  error !!

So I got stuck in the salesforce limits and not understading exactly what to do in this case !!

Can anyone guide me on this ??

Thanks in Advance !!
Hi,
 I want to store my serialize object into the database. For this I am using Long Text Area(131072) data type. But my serialize object contains more than 300000 characters which is throwing me to an error STRING_TOO_LONG, Object Json: data value too large:
So is any other option or data type is available to store such long string in salesforce database ?? or what else i can do in this situation??

Thanks in advance !!
Hi,
I am sending an email through apex class to users. Email is going from (noreply@salesforce.com; on behalf of; XXX <xxx@xxx.com>.)
From user is current logged in user's email address which is my office email id. Previously it was working fine but now its has stopped. I checked Salesforce Email log file in column L value is "reading confirmation", Column O showing "550-5.7.1 Unauthenticated email from xxx.com is not accepted due to\r\n550-5.7.1 domain's DMARC policy".

Can anyone help me on this ?
Hi,

I have created Custom Detail Page Button with a HTTP URL. When user clicks on that button on a record, the URL link gets executed( Contacts third party server) and a field value is updated with the result on the record.

I have a requirement to not use this custom button and make the process automatic i.e. to execute URL Execution when a record is created ( Instead of user clickling on the button everytime).

Do anyone have idea how to call this HTTP URL in the apex class when a record is created?

Thanks in advance
  • February 03, 2016
  • Like
  • 0
Hi,
 I want to store my serialize object into the database. For this I am using Long Text Area(131072) data type. But my serialize object contains more than 300000 characters which is throwing me to an error STRING_TOO_LONG, Object Json: data value too large:
So is any other option or data type is available to store such long string in salesforce database ?? or what else i can do in this situation??

Thanks in advance !!