Im creating a low-code app to display all my resources under my view->services from dataminer. I have retrieved serviceParam data from DMS, but facing difficulty with displaying the data in rows. I have referred this documentation - Modifying links to DataMiner objects | DataMiner Docs
but it doesn't fit my requirements.
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2021/02/1516313790221.jpeg)
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2021/04/80638467_2483954061702827_8186367894225944576_n.jpg)
Hi Baranisudha, in case you’re still stuck, could you elaborate a bit more what you are having trouble with exactly?
I’m assuming you are using an Ad Hoc data source of some sort to retrieve service parameters?
There are also similar data sources on GitHub that may be an inspiration:
https://github.com/topics/dataminer-gqi-data-source
I have element details inside which i have parameter id of my resource. I want to retrieve the resource values using the parameter id in GQI. below is the closest i could get by achieving it. but im getting error message “Access not allowed”(pasting the whole error message here). help me with what i’m doing wrong here.
var requestMsg = new GetParameterMessage() { ParameterId = parameter.ParameterID };
var responseMsg = _dms.SendMessages(requestMsg);
var paramInfo = responseMsg.OfType().ToList();
Sending SLHelper.Callback message requests:SLHelperTypes.Messages.InternalMessage over NATS failed with error: (Code: 0x80070005) Skyline.DataMiner.Net.Exceptions.DataMinerSecurityException: Access not allowed.
at Skyline.DataMiner.Net.Helper.Helper.d__12.MoveNext()
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2020/10/nomnom.jpg)
Hi Baranisudha,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that the question is resolved?
Hi Baranisudha,
The "Access not allowed" exception you get when sending a GetParameterMessage is because your request did not specify from which element to retrieve the parameter.
You can specify the element by also filling in the DataMiner ID and Element ID in the parameter request message (there exists a dedicated constructor for this).
You can find these IDs on the ServiceInfoParams objects in service info.
For a basic scenario, the code could look something like this:
var element = serviceInfo.ServiceParams[0]; // First element
int dmaID = includedElement .DataMinerID;
int elementID = includedElement .ElementID;
var parameter = includedElement.ParameterFilters[0]; // First parameter
int parameterID = parameter.ParameterID;
var request = new GetParameterMessage(dmaID, elementID, parameterID);
var response = _dms.SendMessage(request) as GetParameterResponseMessage;
Hi Baranisurdha, Not sure if exactly what you are looking for, there is an example on our Ziine Dashboard which may fit your needs if you would like to take a look and review the GQI queries used. https://ziine.skyline.be/dashboard/#/
Then under Staging Area|SPU|OTT Summary