on 07-25-2016 8:40 AM
Hello everybody,
When I try to get parameters of a webi which contains Prompt AND Context.
GET with biprws/raylight/v1/documents/{0}/parameters it respond me only the Prompt parameters. Must I pass some parameters after the "parameters" ?
Kind regards,
Cyrille.
bonjour Cyrille,
That's surprising! Can you copy-paste the ouput of the GET call, and a screenshot of the refresh workflow with BI LaunchPad as well?
Thanks,
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Eric,
After the GET of "biprws/raylight/v1/documents/ID/parameters"
{
"parameters": {
"parameter": {
"@dpId": "DPb4",
"@type": "prompt",
"@optional": "false",
"id": 4,
"technicalName": "psChoix de la filiale :",
"name": "Choix de la filiale :",
"answer": {
"@type": "Text",
"@constrained": "true",
"info": {
"@cardinality": "Single",
"lov": {
"@searchable": "true",
"@refreshable": "true",
"@partial": "false",
"@hierarchical": "false",
"id": "UNIVERSELOV_DS15.DO2",
"updated": "2016-07-26T08:40:26+02:00",
"columns": {
"@mappingId": "0",
"column": {
"@type": "String",
"@id": "0",
"$": "Nom du site "
}
}
},
"previous": {
"value": "Liban"
}
},
"values": {
"value": "Liban"
}
}
}
}
}
The issue is coming when I'm trying to modify the universe of this webi.
When I try, B.O ask me for a context.. (?)
I Cannot respond to the B.O Question because he didn't pass me the response, this is weird no ?
+ | JObject.Parse(httpResult) | { |
"mappings": {
"content": {
"mapping": [
{
"@status": "Ok",
"source": {
"id": "_-miEYMpWEeWOaJnuvsGS5w"
},
"target": {
"id": "_-miEYMpWEeWOaJnuvsGS5w"
}
},
{
"@status": "Ok",
"source": {
"id": "_QlPE4MnDEeWOaJnuvsGS5w"
},
"target": {
"id": "_QlPE4MnDEeWOaJnuvsGS5w"
}
},
{
"@status": "Ok",
"source": {
"id": "_QlSIMMnDEeWOaJnuvsGS5w"
},
"target": {
"id": "_QlSIMMnDEeWOaJnuvsGS5w"
}
},
{
"@status": "Ok",
"source": {
"id": "_QlUkccnDEeWOaJnuvsGS5w"
},
"target": {
"id": "_QlUkccnDEeWOaJnuvsGS5w"
}
},
{
"@status": "Ok",
"source": {
"id": "_i2ymMN73EeWWQMLx9-3SQw"
},
"target": {
"id": "_i2ymMN73EeWWQMLx9-3SQw"
}
},
{
"@status": "Ok",
"source": {
"id": "_lb-OgMpYEeWOaJnuvsGS5w"
},
"target": {
"id": "_lb-OgMpYEeWOaJnuvsGS5w"
}
},
{
"@status": "Ok",
"source": {
"id": "_lovncM5DEeW55uZEoP6k8w"
},
"target": {
"id": "_lovncM5DEeW55uZEoP6k8w"
}
}
]
},
"parameters": {
"parameter": {
"@dpId": "DPb9",
"@type": "context",
"@optional": "false",
"id": 5,
"technicalName": "cQuery_Sub_2",
"name": "Select a context",
"answer": {
"@type": "Text",
"@constrained": "true",
"info": {
"@cardinality": "Single",
"lov": {
"@searchable": "true",
"@refreshable": "true",
"@partial": "false",
"@hierarchical": "false",
"values": {
"value": [
{
"@id": "_mC1q8BEJEeazjt_OG3zAzw",
"$": "0_Context_sans_faits"
},
{
"@id": "_62RIwMwMEeWkzINd4s3AcQ",
"$": "1_Context_abonnement"
},
{
"@id": "_kZvW4Au-EeahCcEDAxHrBQ",
"$": "1_Context_bonus"
},
{
"@id": "_zglmcMshEeW7ArAMEe-n_w",
"$": "1_Context_facture"
},
{
"@id": "_h_vfYM8SEeWXXPmpj0XibA",
"$": "1_Context_frais_remise"
},
{
"@id": "_RxOHQBjdEeaoKddqhGtPMQ",
"$": "1_Context_valtransac"
},
{
"@id": "_S5OmQRjfEeaoKddqhGtPMQ",
"$": "2_Context_abo_bon"
},
{
"@id": "_Cye-8MvtEeWkzINd4s3AcQ",
"$": "2_Context_transac_valtransac"
},
{
"@id": "_WCU6oRjeEeaoKddqhGtPMQ",
"$": "2_Context_valtransac_exo"
}
]
}
}
}
}
}
}
}
} | Newtonsoft.Json.Linq.JObject |
What do you mean by :
" screenshot of the refresh workflow with BI LaunchPad as well?"
Kind regards,
Cyrille FORMONT.
Hi Anthony,
It make sense,so , in case the following process is normal :
- GET parameters of my webi
- Trying to change universe : Context question is coming
- I Choose one context to respond at the question
- POST my response
- B.O Ask me about Prompt, so I just place what I got in the "GET parameters"
- POST it
- B.O ask me again about context (the same than before) , if I reply to it, the process just start again,
Do you have any idea ?
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.