Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
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:

The link for the other calendar is:

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

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

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.

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