Yoshimori Otsuka
07/03/2023, 12:53 AMconst backend = tigerFactory().onHostname('<https://something.cloud.gooddata.com/).withAuthentication(new> ContextDeferredAuthProvider(redirectToTigerAuthentication))
- request: https://something.cloud.gooddata.com/api/v1/actions/workspaces/[workspaceId]/execution/afm/execute
- Q2-2 How can I get the parent filter attribute elements using their URIs (UriRef)? Now I can get only local identifier (IdentifierRef).
- const locationStateIdAttributeUri = "attr.restaurantlocation.locationid" // from where?
- Q2-3 Is is necessary parentFilterOverAttribute? How can I implement parentFilterOverAttribute using locationStateIdAttributeUri?
const locationStateIdAttributeUri = "attr.restaurantlocation.locationid" // Q2-2 How can I get the parent filter attribute elements using their URIs (UriRef)?
const locationStateFilter = newPositiveAttributeFilter(
Md.LocationState,
[]
)
// using parentFilters and parentFilterOverAttribute to limit the attribute elements
// Q1. Is it possible to use useAttributeFilterController & parentFilters?
// Q2 How can I check the limitation in Parent-Child Filtering document?
// Q2-1 Which is GoodData Platform and GoodData Cloud? And what is the difference between bear and tiger version for implementing parentFilter?
const {
elements: locationCityFilters,
} = useAttributeFilterController({
filter: newPositiveAttributeFilter(Md.LocationCity, []),
parentFilters: locationStateFilter ? [locationStateFilter] : [],
// Q2-3 Is is necessary parentFilterOverAttribute? How can I implement parentFilterOverAttribute using locationStateIdAttributeUri?
parentFilterOverAttribute: {
uri: locationIdAttributeUri,
type: 'attribute',
},
})
Ivana Gasparekova
07/03/2023, 12:43 PMYoshimori Otsuka
07/04/2023, 12:42 AMFirst of all, we need to find out what product of GoodData are you using now.it's below. • react SDK ◦ 8.12.1 • others gooddata lib ◦ 8.12.1 • typescript ◦ 4.9.3 • next ◦ 12.3.4 • react, react-dom ◦ 17 package.json
"@gooddata/api-client-bear": "^8.12.1",
"@gooddata/api-client-tiger": "^8.12.1",
"@gooddata/api-model-bear": "^8.12.1",
"@gooddata/sdk-backend-bear": "^8.12.1",
"@gooddata/sdk-backend-tiger": "^8.12.1",
"@gooddata/sdk-model": "^8.12.1",
"@gooddata/sdk-ui": "^8.12.1",
"@gooddata/sdk-ui-all": "^8.12.1",
"@gooddata/sdk-ui-charts": "^8.12.1",
"@gooddata/sdk-ui-dashboard": "^8.12.1",
"@gooddata/sdk-ui-ext": "^8.12.1",
"@gooddata/sdk-ui-filters": "^8.12.1",
"@gooddata/sdk-ui-geo": "^8.12.1",
"@gooddata/sdk-ui-loaders": "^8.12.1",
"@gooddata/sdk-ui-pivot": "^8.12.1",
"next": "12.3.4",
// for GoodData React SDK
"react": "17.0.2",
"react-dom": "17.0.2",
"devDependencies": {
"@gooddata/catalog-export": "^8.12.1",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"typescript": "4.9.3",
you are working with GoodData Cloud.Sorry, I'm not make sure that my app is working with GoodData Cloud... I have some more questions for this. How can I find my app is working with GoodData Cloud? Is it true? • Q4 between Cloud and Platform ◦ ? tiger => Cloud ◦ ? bear => Platform • or ◦ ? https://yyyy.cloud.gooddata.com => Cloud ◦ ? https://yyyy.platform???.gooddata.com => Platform • Q5 @gooddata/sdk-ui 8.12.1 ◦ Cloud only ?
Ivana Gasparekova
07/11/2023, 1:42 PMYoshimori Otsuka
07/12/2023, 12:06 AM