Hi Robert,
I have a really dumb question that I'm sure is simple. I am attempting to hide both the attachment and relate icons on the popup. My data doesn't contain either for how I'm using your widget, which is awesome by the way. I changed this section of code in the AttRelateInfoWinWidget.mxml file.
flyToSearch = lyrCurrent as FeatureLayer;
//Check to see if the featurelayer has relationships
if (flyToSearch.layerDetails.relationships)
{
// changed to false to hide icon
buttons.showRelateBtn(false);
}
//Check to see if the featurelayer has attachment capablity
if (flyToSearch.layerDetails.hasAttachments)
{
// changed to false to hide icon
buttons.showAttachBtn(false);
}
That hides the relate button, but not the attachment button. I tried a couple of other things in this file and in the AttRleateInfoButtons.mxml file as well.
No big deal if it's not possible.
Hope you aren't getting any of the nasty weather going across the country.
Cory