Good day, Its been a week now and I'm struggling to figure out what's wrong with the JSON response. I have a custom connector that gets the flag status of each project by their project key.
And this is the sample response I've put in the custom connector.
{
"_links": {
"self": {
"href": "string",
"type": "string"
}
},
"items": [
{
"_links": {
"parent": {
"href": "string",
"type": "string"
},
"self": {
"href": "string",
"type": "string"
}
},
"_maintainer": {
"_id": "string",
"_links": {
"self": {
"href": "string",
"type": "string"
}
},
"email": "string",
"firstName": "string",
"lastName": "string",
"role": "string"
},
"_version": 0,
"archived": true,
"clientSideAvailability": {
"usingEnvironmentId": true,
"usingMobileKey": true
},
"creationDate": 0,
"customProperties": {},
"defaults": {
"offVariation": 0,
"onVariation": 0
},
"description": "string",
"environments": {
"test-dev": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
},
"test-prod": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
},
"test-stage": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
}
},
"experiments": {
"baselineIdx": 0,
"items": [
"string"
]
},
"goalIds": [
"string"
],
"includeInSnippet": true,
"key": "string",
"kind": "string",
"maintainerId": "string",
"name": "string",
"tags": [
"string"
],
"temporary": true,
"variationJsonSchema": "string",
"variations": [
{
"_id": "string",
"value": true,
"description": "string",
"name": "string"
}
]
}
],
"totalCount": 0
}
Although I can get the name, key, date created and so on when I change project name in powerapps using "ThisItem". The problem is when I go to the environments part, I always get the "test-dev""test-prod""test-stage" using "ThisItem.environments" even though I'm in a different project.
For example I am in the "ProjectTest" project. the environments should be "project-test-dev""project-test-stage""project-test-prod". not the environments "test-dev""test-prod""test-stage".

Report
All responses (
Answers (