• Dima
  • NEWBIE
  • 15 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 5
    Replies
Does anybody know where I can download the misterious Adobe® Flash® Builder for Force.com?
Spring 15 "Force.com Flex Quick Start Tutorial" pdf does not give a link to it.
Adobe_Flash_Builder_for_Force.com_FAQ says 
"Users can download the installation package for free from http://developer.force.com/flashbuilder. "
When I click that link I get redirected to the front page. No 404, no warning just redirect.
My Flex codebase took thousands of workhours to build. Now I'm unable to debug it because of recent changes in cross-domain policies and redirects.

Here is what I've got

Error: Ignoring policy file requested from https://ao2.na14.visual.force.com/crossdomain.xml because a cross-domain redirect to https://na1.salesforce.com/crossdomain.jsp occurred.

*** Security Sandbox Violation ***
Connection to https://ao2.na14.visual.force.com/services/Soap/u/9.0/ halted - not permitted from file:///C:/Projects/fbworkspace/ao2.cs.flex/bin-debug/CompanyStructure.swf
Error: Request for resource at https://ao2.na14.visual.force.com/services/Soap/u/9.0/ by requestor from file:///C:/Projects/fbworkspace/ao2.cs.flex/bin-debug/CompanyStructure.swf is denied due to lack of policy file permissions.

I was able to run it from Flash Builder against production/dev org prior to Spring 15 release.



 
  • April 20, 2015
  • Like
  • 0
I'm having all sorts of problems trying to complete the challenge for the sharing rules section of this module. I feel like I have everything setup properly but still get this error message:
Challenge Not yet complete... here's what's wrong: 
The Sharing Set is not setup with proper Case access. Please check the requirements.

Sharing set name is "Share cases with customers"
Applies to Profiles: Customer Community User
Access Granted: Case - User:Account = Case:Account - Read/Write

What am I missing

 
Hi! 

I'm going through the Trailhead quizzes, and I've come to the ones that say "Connect to your Developer Edition" in order to complete the quiz.  I have a Developer Edition account set up, but when I try to access it through Trailhead it gives me this message: "Houston, we have a problem... you are attempting to log into Trailhead to complete challenges with an org that isn't supported.  When you are completing Trailhead hands-on challenges, you cannot use a production or sandbox org...." Anways, I'm not sure how to complete the quizzes. (They are under Learn CRM Essentials)  Any insight is greatly appreciated! 




 
Does anybody know where I can download the misterious Adobe® Flash® Builder for Force.com?
Spring 15 "Force.com Flex Quick Start Tutorial" pdf does not give a link to it.
Adobe_Flash_Builder_for_Force.com_FAQ says 
"Users can download the installation package for free from http://developer.force.com/flashbuilder. "
When I click that link I get redirected to the front page. No 404, no warning just redirect.
My Flex codebase took thousands of workhours to build. Now I'm unable to debug it because of recent changes in cross-domain policies and redirects.

Here is what I've got

Error: Ignoring policy file requested from https://ao2.na14.visual.force.com/crossdomain.xml because a cross-domain redirect to https://na1.salesforce.com/crossdomain.jsp occurred.

*** Security Sandbox Violation ***
Connection to https://ao2.na14.visual.force.com/services/Soap/u/9.0/ halted - not permitted from file:///C:/Projects/fbworkspace/ao2.cs.flex/bin-debug/CompanyStructure.swf
Error: Request for resource at https://ao2.na14.visual.force.com/services/Soap/u/9.0/ by requestor from file:///C:/Projects/fbworkspace/ao2.cs.flex/bin-debug/CompanyStructure.swf is denied due to lack of policy file permissions.

I was able to run it from Flash Builder against production/dev org prior to Spring 15 release.



 
  • April 20, 2015
  • Like
  • 0

My Apex unit tests, which were all working in v23.0, are now failing in my v24.0 sandbox because there are no Pricebook2 records in the test database. I'm not sure how to fix this -- I've tried inserting my own Pricebook2 record but it doesn't make any difference, because it's not the Standard Price Book.

 

Here's my code, abbreviated:

 

Product2 newProd = new Product2(Name = 'test product', family = 'test family');
insert newProd;

PriceBookEntry pbEntry = new PriceBookEntry(
    UnitPrice = 300,
    PriceBook2Id = [select id from PriceBook2 where isStandard = true].Id,
    Product2Id = newProd.Id
);

 The query on line 6 fails with "List has no rows". But if I try this instead:

 

Product2 newProd = new Product2(Name = 'test product', family = 'test family');
insert newProd;

PriceBook2 pb = new PriceBook2(Name = 'test price book');
insert pb;

PriceBookEntry pbEntry = new PriceBookEntry(
    UnitPrice = 300,
    PriceBook2Id = pb.Id,
    Product2Id = newProd.Id
);

insert pbEntry;

 Then the last line fails with a STANDARD_PRICE_NOT_DEFINED exception.

 

Not sure how to get around this -- my understanding is that this code has stopped working in v24.0 because unit tests no longer have access to real data. How does one test opportunity line items, then?

I uploaded a class implementing the Database.batchable interface into our live environment. It ran with a couple of errors and I decided to remove it and go another route.

 

The problem is that I now seem to be unable to remove the class. I tried cleaning out the contents of the class, like thus:

 

 

global class CalcSummaryBatch {	
}

 

 

The class above saved successfully without any errors, but Salesforce still refuses to allow me to delete the class, or save it as Inactive.

 

Here's the error that I'm getting: "This apex class is referenced elsewhere in salesforce.com. Remove the usage and try again.: Apex Job - xxxxxxxxxxxxxxxxxxx."

 

Here's the log under Setup > Monitoring > Apex Jobs. I double-checked, and all jobs are at a Completed status:

(There are about 20 such messages as the one below, all with status "Completed", and all the Apex Job Ids are listed as why the class cannot be deleted, in the error above)

Action
 Submitted Date
Job Type
Status
Status Detail
Total Batches
Batches Processed
Failures
Submitted By
Completion Date
Apex Class
Apex Method
 <nothing listed here>
 4/10/2011 11:00 PM Batch Apex
Completed
 First error: Attempt to de-reference a null object 0 0 1 xxx 4/10/2011 11:00 PM CalcSummaryBatch  <nothing listed here>
...

I've been trying to download flash builder at http://developer.force.com/flashbuilder, but the link navigates me to developer.force.com home page. I've gone through few discussions and tried with Firefox, Google chrome and IE and all the browsers show the same result navigating back to home page. Any help would be appreciated.