Since you are developing a custom plugin, I would just suggest just removing that property by adding additional logic to exclude that ID from the visibilityMap object. The ID for photo albums should be static
Or, you can keep the Java logic the same and make the value for Photo Album hidden and set the value with a hidden input element.
Does that sound right?
Thank you for your response.
I am able to fix this in the same way that you have mentioned.
Thanks & Regards,