Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

Support Forum



Calendar display fields
lfambles asked:
In the calendar module, the detail page for one calendar displays accurately using the assetID field to determine the record to display. In another special calendar, the detail shows an incorrect record, based on rowID. How is this determined in the source code of the calendar module?  
  nealm responded:
  Before we dive into the source code, what is the link that the calendar module is creating?

As, when you hover over the link that will bring you to the details page, what is it saying? Let's break that down to see where the problem is.
 
  lfambles responded:
  http://capabilities.myseguer.com/wsCalendar/components/calendar_Service.view?cmode=details&cdate=12/01/2001&wsCalendar._mode=details&wsCalendar.RowId=108

The link for the other calendar is:
http://capabilities.myseguer.com/wsCalendar/components/calendar_Lease.view?cmode=details&cdate=12/08/2001&wsCalendar._mode=details&wsCalendar.AssetID=7905

I can't determine why RowID is being used instead of AssetID.

Thanx,
 
  nealm responded:
  If you look at the component the calendar made for you:

http://capabilities.myseguer.com/wsCalendar/components/calendar_Service.view.

Under "Default Component Settings" the property Table Name should be set to... Service?

The module then uses the method: getPK on that table to get the primary key. That is where RowID comes from. Then when that link is created it uses "RowId = ????".

So lets look at my 2 assumptions:
1) That the table is called Service
2) That Service's Primary Key is RowID

If the above two assumptions are true, then most likely the property, "Path to default.view" is wrong.

Am I right? Close?
 
  lfambles responded:
  Please close. I created a new view starting from the service table and adding components from the lookup field. It works now.  
  dougl responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

Thanks,
DataWeb Support
 
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us