I have a junction object called relationships. It is tied to Projects and Accounts. I am just trying to create a custom list button that adds a new record.
So far I have this: window.open("{!URLFOR($Action.Relationship__c.New)}");
Settings are on execute javascript but I tried all the other settings too. It always leads to a broken page. Have tried many variations--anyone have any advice on how to simply create a new record? The reason I do not want to use the original "New Relationship" button is because I want to change the label to something more custom "New Account" on the project object, and "New Project" on the account object.
thanks!