Adding "Create New Node" link in views pages SO I have two content types, a "Candidate" and a "Job Opening". "Candidate" has an Entity Reference field that points to a Job Opening. I've currently got separate views for both, but on the "Job Opening" view I'd like to have a field that users can click to apply for a job, which would ideally create a new Candidate node with the Job Opening ER field pre-filled so users don't have to fill that in. 

I tried adding a Custom Text field containing 

&lt;a href="/node/add/candidate"&gt;Apply Now!&lt;/a&gt;


but I just get an "object not found" error when I click on it. 

Is there any way to accomplish this be it with existing modules or built-in stuff, or am I gonna have to dive in and start coding? 

Edit: So I've managed to get half of what I want. Turns out because my installation is at "/localhost/drupal", then my link needed to be 

&lt;a href="/drupal/node/add/candidate/"&gt;Apply Now!&lt;/a&gt;


So now I just need to find out how to pass a reference to the job opening its from and I'm golden.
It's possible without writing any PHP etc. and you'll need one of the modules mentioned Entityreference prepopulate, Prepopulate, etc.


Add Global: Custom text to your fields, in the Text field enter Apply Now!
Under Rewrite results, check Output this field as a link
In the Link path field enter node/add/candidate (this will get passed through the l() function and correctly deal with subfolders, etc.)
Add Global: Unfiltered text to your header/footer, etc. in the Text field enter [nothing], check Display even if view has no result and check Use replacement tokens from the first row
Test this is working correctly and Exclude from display the Global: Custom text in your fields
Play around with the Link path field to correctly pass the correct variables so your fields are populated correctly - this will probably require trial and error to get this correct which is why this is the last step.