we have created an extension to display PhysicalDevice objects in the Standard Portal using a ManageBrick.
For that we have added a field "device owner" to the class PhysicalDevice and modified the scope "all" that the user is able to see his own devices. But when i add the field "location_id" to the ManageBrick i receive the attached error messages.
Does someone has created a similar extension to display PhysicalDevice objects in the portal including the location field of the PhysicalDevice object? The english version of the second error message is "Sorry, this object does not exist (or you are not allowed to view it)."
In this case, indeed. I'm not sure if the "location" class is exposed by default in the user portal. You might need to update the scopes to include it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have already exposed the location by creating an "all" scope. For testing if it is working i have also created a ManageBrick to list all locations. All locations are displayed correctly.
many thanks you for support
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error message n°2, does not look like a Portal error, this is a Console one
I have no clue what is the first message
What is your field "device owner" is it an externalkey to a Person or to an iTop User, because to an iTop User you may encounter issue, as out of the box Users are not allowed to see the User Class
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Vincent, correct, the device owner is an AttributeExternalKey to the Person class. So i am able to display the devices to the Person but when i add the field "location_id" to the ManageBrick than the error messages appear.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to change the log level of the Portal component? Currently i can not find any logs in the folder C:\inetpub\wwwroot\log\portals\itop-portal-prod.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If i remove the field "location_id" from the ManageBrick <fields> and only add it the form which is used to display the details of the PhysicalDevice, than the error message does not appear. The location is displayed correctly in the form. </fields>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
we have created an extension to display PhysicalDevice objects in the Standard Portal using a ManageBrick.
For that we have added a field "device owner" to the class PhysicalDevice and modified the scope "all" that the user is able to see his own devices. But when i add the field "location_id" to the ManageBrick i receive the attached error messages.
Does someone has created a similar extension to display PhysicalDevice objects in the portal including the location field of the PhysicalDevice object? The english version of the second error message is "Sorry, this object does not exist (or you are not allowed to view it)."
best regards
The organization of the location: that's the same as the organization of the functional CI?
You might need to assign some more permissions.
Hello Jeffrey,
yes, its the same organization. Do you mean the scopes when you talk about permissions?
many tanks
In this case, indeed. I'm not sure if the "location" class is exposed by default in the user portal. You might need to update the scopes to include it.
Hello,
i have already exposed the location by creating an "all" scope. For testing if it is working i have also created a ManageBrick to list all locations. All locations are displayed correctly.
many thanks you for support
The error message n°2, does not look like a Portal error, this is a Console one
I have no clue what is the first message
What is your field "device owner" is it an externalkey to a Person or to an iTop User, because to an iTop User you may encounter issue, as out of the box Users are not allowed to see the User Class
Hello Vincent, correct, the device owner is an AttributeExternalKey to the Person class. So i am able to display the devices to the Person but when i add the field "location_id" to the ManageBrick than the error messages appear.
Is it possible to change the log level of the Portal component? Currently i can not find any logs in the folder C:\inetpub\wwwroot\log\portals\itop-portal-prod.
Hello,
i have some news regarding my issue.
If i remove the field "location_id" from the ManageBrick <fields> and only add it the form which is used to display the details of the PhysicalDevice, than the error message does not appear. The location is displayed correctly in the form. </fields>