how to get attribute of feature layer at Centroid point
Please elaborate. Are you referring to the centroid of a feature or the centroid of the graphic layer extent?