AnalyticsRelationshipSuggestion Interface
A suggested join is never applied automatically.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| confidence | The confidence value of AnalyticsRelationshipSuggestion. |
| field | The field value of AnalyticsRelationshipSuggestion. |
| id | The id value of AnalyticsRelationshipSuggestion. |
| reason | The reason value of AnalyticsRelationshipSuggestion. |
| sourceId | The sourceId value of AnalyticsRelationshipSuggestion. |
| targetField | The targetField value of AnalyticsRelationshipSuggestion. |
| targetSourceId | The targetSourceId value of AnalyticsRelationshipSuggestion. |
Examples
Pass the AnalyticsRelationshipSuggestion value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';
function inspectAnalyticsRelationshipSuggestionConfidence(
analyticsRelationshipSuggestion: Awaited<
ReturnType<ServerSheetControl['workbook']['analytics']['suggestRelationships']>
>[number],
) {
const value = analyticsRelationshipSuggestion['confidence'];
console.log('AnalyticsRelationshipSuggestion.confidence', value);
}