The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
v7.5 - Unable to launch AddEdit form
Posted: 30 Apr 09 1:20 PM
|
I'm having trouble launching a custom AddEdit form from an Account tab that should work similar to the "Account Assets" tab. I created my custom Account form with a grid to display "product summary" records (1:M table under ACCOUNT), and included an "Insert" button on the toolbar. The "Insert" QFButton on my "ProductSummary" form was set up with properties that matched the "Insert" QFButton on the "AccountAssets" form toolbar. When I click on my "Insert" QFButton, I see the progress bar, but my AddEdit form does not launch. No errors, no real explanation why.
If I point my "Insert" QFButton to the "AddEditAccountProduct" form, that form launches correctly. I have to be missing something simple when I'm using the wizard to create my AddEditProductSummary form, or when I'm establishing the properties of that form.
Can anyone help? I've hit a wall on what should be a pretty simple configuration. Thanks for any comments.
Jim M. |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 3:59 AM
|
Hi Jim,
It usually does this if you forget to add the form to the Account (account.aspx)page, and also set its mode correctly. So it should be added as a dialogworkspace and set to show on "Detail".
Thanks,
Nick |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 6:22 AM
|
If its trying to launch but does not it seems that you are missing the step of adding the smartpart to the page as Nick mentioned. I would also look at your ChildInsertDialog action assigned to your button to ensure that is is pointing to a valid smart part name as well. |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 8:46 AM
|
Thanks for the feed back guys.
I already added the "ProductSummary" smart part to the Account Detail page under Portal Manager. I had set the Show in Mode to "Detail" and the target workspace to "Tab Control". It appears that I should change the target workspace to "DialogWorkspace" (per Nick's suggestion).
Can someone explain the difference between "Tab Control" and "DialogWorkspace"?
|
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 9:49 AM
|
No problem. DialogWorkspace is where your form will appear to float on the screen (a version of the modal dialog in the HTML world). A tab control is where your form would appears as a tab on the screen, so like Contacts, Opportunities, More Tabs etc... |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 9:50 AM
|
No problem. DialogWorkspace is where your form will appear to float on the screen, and is typically called to open from a button (a version of the modal dialog in the HTML world). A tab control is where your form would appears as a tab on the screen, so like Contacts, Opportunities, More Tabs etc... |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 10:57 AM
|
Ok - so it appears that I need to assign the ProductSummary smart part to the Account Detail portal page using the Target Workspace of "TabControl" and the Show In Mode of "Detail".
I'm going to set the "Insert" QFButton to launch the AddEditProductSummary form using the "Insert Child Dialog" action. Is there some place that I set the AddEditProductSummary form to launch in the DialogWorkspace?
Sorry for the questions but I'm obviously missing something somewhere. |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 11:08 AM
|
Ok once you have added the reference to open AddEditProductSummary using the "Insert Child Dialog", you will now need to add the AddEditProductSummary quickform to the Account page, as a "DialogWorkSpace" type. |
|
|
|
Re: v7.5 - Unable to launch AddEdit form
Posted: 01 May 09 11:20 AM
|
Ahhh ... now I understand.
I got it to work using your advice. I can stop banging my head against the wall now.
Thanks a bunch!
Jim M. |
|
|
|