Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

REST API: /api/core/content/referencefield/[ID] on Locked CR/RR

Ilya_Khen
Champion III

Hi,

 

Statement:

Archer platform v6.6 P3.

REST API: /api/core/content/referencefield/[ID]

 

Issue:

Works fine on all non-locked CR/RR field. But once field is locked CR/RR, e.g. Findings field in any Questionnaire:

pastedImage_3.png

then result is:

[
{
"Links": [],
"RequestedObject": {},
"IsSuccessful": false,
"ValidationMessages": [
{
"Reason": "WebApi:WebApiResourceNotFoundQueryReason",
"Severity": 3,
"MessageKey": "WebApi:WebApiResourceNotFoundQuery",
"Description": "The resource cannot be found.",
"Location": -1,
"ErroredValue": null,
"Validator": "ArcherApi.Controllers.ContentReferencedFieldController, ArcherApi, Version=6.6.300.1025, Culture=neutral, PublicKeyToken=null",
"XmlData": null,
"ResourcedMessage": "No resource found."
}
]
}
]

 

Question:

Is it known or expected behaviour?

 

Thank you.

2 REPLIES 2

Arun.Prasad
Advocate II

Ilya Khen‌,

 

Long time no see..   Hope you are doing good..

 

I tried with a locked CR and it returned values for me. However, it did not work with the Findings CR within a questionnaire. Strange though.

 

pastedImage_2.png

 

pastedImage_3.png

 

pastedImage_5.png

Thanks, Arun

 

Exactly, it works with discrepancy. E.g. Actions in Findings do not work either. So, it has somehow limitations, but on what criteria? There are no access limitations on neither fields.