function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bruce StewartBruce Stewart 

Dev 451 Position Application Form - Positions Not Populating

I am attempting the "Apex" course offered by Salesforce University via Premier / Online H&T.
During Exercise 9.1 Receiving and Sending EMails through Apex, you're supposed to make use of a Candidate Application Submission Form herokuApp  hosted on a VFP in the training org:

PosAppFormRedirectController
 
public class posAppFormRedirect_Controller {
    public PageReference doRedirect() {
        String apiUrl = [select id, User_API_URL__c from User where Id = :UserInfo.getUserId()].User_API_URL__c;
        return new PageReference('https://candidateobm.herokuapp.com/email?sid='+UserInfo.getSessionId() + '&url=' + apiUrl + '&uname=' + UserInfo.getUserName());
    }
}

When I land at that page, I get a static form to fill out, but the Position Control is not populated with any Positions from the org.
 
<select class="form-control" id="selectList" name="posId" required>
			<option value="" style="display: none;" disabled>Please Select the Position you are Applying for</option>
			<script>
			    document.getElementById('selectList').validity.valueMissing;
			</script>

Since it's a required field on the form, I can't submit to check on the CandidateEmailHandler class I wrote.
I can see the solution files, but it would be nice to demo this.

I have added the 'https://candidateobm.herokuapp.com' as a remote site within the org.

What might be keeping the HerokuApp from obtaining the posIDs (or I presume Position Names) to populate the selectList?
I do have "Open" "Active" Positions that are shared with all internal users ...

Since I can't see the Heroku App's inner workings, it's difficult to troubleshoot why no positions would appear.
I've tried Chrome & Firefox & IE11.