attachments not showing in featuredetails
I have not modified the out of the box viewers for html5. in the feature details report that results from identify by rectangle through the i want to menu, the attachments list does not show up for a feature that is know to have attachments. The silverlight viewer display the attachments list, but the html5 does not. Is there a setting I need to modify in the desktop.json file? Could you point me there. I am on google chrome as a browser.
J
-
I don't have any layers with attachments, so I can't tell you if it is working or not, but here is where the code is in the json file. Doesn't look like there is anything to modify though...
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsViewModel",
"viewType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsView",
"iconUri" : "Resources/Images/Icons/paperclip-24.png",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsProviders/AttachmentsView.html"0 -
Hi Jeff,
You might want to check the viewer log, it's possible an error occurred. To check the log press Ctrl + Shift + ~.
- Jason
0 -
jason,
on google chrome:
where do you hit the cntrl shift ~ it is not working for me in the view or anywhere else?
Anyway--
here is my feature details stuff from my desktop.json file:
"moduleName" : "FeatureDetails",
"moduleType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsModule",
"configuration" : {
"providers" : [ {
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttributesViewModel",
"viewType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttributesView",
"iconUri" : "Resources/Images/Icons/details-24.png",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsProviders/AttributesView.html"
}, {
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsViewModel",
"viewType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsView",
"iconUri" : "Resources/Images/Icons/paperclip-24.png",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsProviders/AttachmentsView.html"
}, {
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.RelatedFeaturesViewModel",
"viewType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.RelatedFeaturesView",
"iconUri" : "Resources/Images/Icons/file-multi-24.png",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsProviders/RelatedFeaturesView.html",
"config" : {
"relatedFeatureView" : "DataRegion"
}
}, {
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.FeatureActionsViewModel",
"viewType" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.FeatureActionsView",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsProviders/FeatureActionsView.html"
} ]
},
"views" : [ {
"id" : "FeatureDetailsView",
"viewModelId" : "FeatureDetailsViewModel",
"iconUri" : "Resources/Images/Icons/details-24.png",
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsView",
"markup" : "Mapping/modules/FeatureDetails/FeatureDetailsView.html",
"region" : "DataRegion",
"title" : "@language-feature-details-title",
"visible" : false,
"configuration" : { }
} ],
"viewModels" : [ {
"id" : "FeatureDetailsViewModel",
"type" : "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsViewModel",
"configuration" : {
"viewToActivate" : "FeatureDetailsView"
}
} ]
}, {so...any ideas?
0 -
first--jason my bad on the log files, when I dragged my chrome browser session onto my desktop, the path was reset to ie, since right now its the default browser. so i did bring up the log and it shows no errors.
here is a copy and paste of it.
info 14:10:00.858 Version 1.1.0.0911. en-US
info 14:10:00.859 Initializing module 'Alert'.
info 14:10:00.859 Initializing module 'Authentication'.
info 14:10:00.860 Initializing module 'Banner'.
info 14:10:00.860 Initializing module 'Confirm'.
info 14:10:00.860 Initializing module 'FeatureDetails'.
info 14:10:00.861 Initializing module 'Identify'.
info 14:10:00.861 Initializing module 'IWantToMenu'.
info 14:10:00.863 Initializing module 'Map'.
info 14:10:00.863 Initializing module 'MapTips'.
info 14:10:00.864 Initializing module 'Menu'.
info 14:10:00.864 Initializing module 'Prompt'.
info 14:10:00.864 Initializing module 'Results'.
info 14:10:00.865 Initializing module 'Search'.
info 14:10:00.866 Initializing module 'Shell'.
info 14:10:00.869 Initializing module 'SimpleLayerList'.
info 14:10:00.869 Initializing module 'Site'.
info 14:10:00.870 Initializing module 'Status'.
info 14:10:00.870 Initializing module 'Tools'.
info 14:10:00.870 Initializing module 'Workflow'.
info 14:10:00.872 Initializing module 'ZoomControlso it must be something else going on.
Jeff
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare