Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Tuned Listener
dwaltho
Posts: 23
Registered: 01-27-2010

showing insert page for datagrid v7.5.4

Using SLX 7.5.4, have built a datagrid showing 1:many data for a contact, added the button to the tab to launch the insert view built the page for the insert view...added the button to launch the insert view to the new tab but nothing happens...

 

Any ideas how I can resolve waht should be a simple task.

 

Thanks,

 

Derek

 

 

Please use plain text.
Employee
mdykun
Posts: 71
Registered: 04-13-2009

Re: showing insert page for datagrid v7.5.4

did you add the smartpart to the contact detail page. If its not showing chances is you missed this step.
Please use plain text.
Bronze Contributor
rchavez
Posts: 91
Registered: 06-09-2009

Re: showing insert page for datagrid v7.5.4

Derek:

 

  From what I read, it seems as if you have the "Add" Button on the Tab, but it does not bring your Insert Dialog.

 

  First of all: Did you set the Action of the Button to a "Dialog Action" and linked it to your Insert Dialog? 

  Second: Did you add your Insert Dialog to your Page and set it up as a Dialog?

    In other words, when you open the Contact Details Page, you should have added 2 items there:

      - The View with the DataGrid (setup to display as a Tab)

      - The View for the Insert (setup to display as a Dialog)

 

 

  

 

  

Raul A. Chavez
http://raul.chavez.com
http://www.crmbi.com
Please use plain text.
Tuned Listener
dwaltho
Posts: 23
Registered: 01-27-2010

Re: showing insert page for datagrid v7.5.4

Hi Raul, yes I have both the insert and the datagrid added to the smartparts for the contact details page...

Please use plain text.
Tuned Listener
dwaltho
Posts: 23
Registered: 01-27-2010

Re: showing insert page for datagrid v7.5.4

hey Mark, yes have the insert page added to the smartparts section of the contact details page....
Please use plain text.
Employee
mdykun
Posts: 71
Registered: 04-13-2009

Re: showing insert page for datagrid v7.5.4

I would go to the deployed site and look in the directory structure under SmartParts\Contacts and ensure that you have a ascx file for both your grid and insert. It is possible the insert is not deployed. If it is then I would load up the site in VS and debug it to see if any exceptions are being thrown that are causing the smart part to not load correctly. Generally these grid/edit screens are pretty simple in nature and should work as long as all the parts are aligned correctly.

Please use plain text.
Tuned Listener
dwaltho
Posts: 23
Registered: 01-27-2010

Re: showing insert page for datagrid v7.5.4

[ Edited ]

ok I deleted the page for the insert and recreated it, build platform and deploy.....the insert page now comes up from the tab. I enter 1 field of data on the page and click the Save button and I receive and error that the contactid cannot be null in this 1:many table (obviously). I would have thought the contactid would have been populated through the relationship?

 

Getting closer.....

Please use plain text.
Employee
mdykun
Posts: 71
Registered: 04-13-2009

Re: showing insert page for datagrid v7.5.4

Ensure that you selected ChildDialogAction and not DialogAction ... set the parent properties accordingly.

Please use plain text.
Tuned Listener
dwaltho
Posts: 23
Registered: 01-27-2010

Re: showing insert page for datagrid v7.5.4

ok changed it to an "ChildDialogAction" click the save button and the form does not close.....hmmmmm
Please use plain text.
Employee
mdykun
Posts: 71
Registered: 04-13-2009

Re: showing insert page for datagrid v7.5.4

Last one --- did you set the dialogresult?
Please use plain text.