Signals VitroVivo, Signals Inventa |
All Versions |
Keywords:
Published Endpoints, Removing Entries, Signals Inventa expression Entries.
Description:
When working with the "Publish Endpoints" feature, users may encounter the issue of previously entered hierarchy values persistently appearing for selection. While there is no direct button to remove these entries, a solution exists in the form of an API that allows users to effectively eliminate unwanted hierarchy values/Entries.
Solution:
There is no way to remove an existing literal text from the UI. Here I will provide the steps to invoke the API directly.
To address this issue, follow the steps outlined below:
Step 1: Find the ID for the target literal
In SDF, go to “Information Design” -> “Measurement Types”, “Inventa Configuration” -> “Measurement Types”, and click the “To Publish Endpoints” button to open the AER Map page. And try to find the ID of the literal you want to delete.
Step 2: Call API to remove the literal string
We need to execute below API to remove the literal from the database:
DELETE {sdf-url}/sld/metastore-api/literals/{literal-id}
Example:
DELETE https://signals.revvitycloud.net/sld/metastore-api/literals/658297750c22397857148a3e
You can execute it in utilities like Postman with an API key.
Or run below JavaScript script below in the console table of the above web page. Please remember to update the URL.
var myHeaders = new Headers(); var requestOptions = { method: 'DELETE', headers: myHeaders, redirect: 'follow' };
fetch(https://signals.revvitycloud.net/sld/metastore-api/literals/658297750c22397857148a3e, requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));
|
After execution, you can go to the “Network” tab to check the execution result. You will be able to view the success operation.
Comments
0 comments
Please sign in to leave a comment.