Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

M-Files Plugin for Hubshare: "The selected template doesn't have a valid Hubshare ID" Error

Last updated on 14 December 2023

Admin
M-Files Hubshare

Overview

When creating Hubs from the M-Files and using a hub template, the user can run into a template ID error:

image.png

Pic 1. Error message on M-Files
 

<MetadataEditor>, -, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
ScriptErrorHelper.cpp, 96, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MDispatchExImpl.h, 679, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MDispatchExImpl.h, 841, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MetadataCardAction.cpp, 386, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MetadataCardAction.cpp, 560, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MetadataEditor.cpp, 2956, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MetadataModel.cpp, 4473, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MetadataModel.cpp, 5443, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 251, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 410, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
DocumentCache.cpp, 4866, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
DocumentCache.cpp, 4935, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
DocumentCache.cpp, 5093, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
IRPCObjectOperations.generated.cpp, 607, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
gRPCClient.cpp, 497, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
gRPCClient.cpp, 466, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
gRPCClient.cpp, 99, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
gRPC.generated.cpp, 13030, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
RPCDocumentOperations.cpp, 5347, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
MCallInLoop.h, 530, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 239, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 420, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 381, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 1714, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 276, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 341, Script execution failed. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 179-13-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 341, The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultScriptSessionTemplates.cpp, 523, The selected template doesn't have a valid Hubshare ID. (0x80131500)
CoActiveScriptSite.cpp, 897, The selected template doesn't have a valid Hubshare ID. (0x80131500)
CoActiveScriptSite.cpp, 739, The selected template doesn't have a valid Hubshare ID. (0x80131500)
BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize, 22, The selected template doesn't have a valid Hubshare ID. (0x80131500)
CoDynamicCLRObjectWrapper.cpp, 552, The selected template doesn't have a valid Hubshare ID. (0x80131500)
CoDynamicCLRObjectWrapper.cpp, 322, The selected template doesn't have a valid Hubshare ID. (0x80131500)
ManagedError.cpp, 149, The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultApplicationBase.cs, 275 (IL:67), The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultApplicationBase.cs, 924 (IL:92), The selected template doesn't have a valid Hubshare ID. (0x80131500)
MethodInfo.cs, 264 (IL:336), The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultEvents.cs, 157 (IL:689), The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultEvents.cs, 398 (IL:438), The selected template doesn't have a valid Hubshare ID. (0x80131500)
VaultEvents.cs, 546 (IL:566), The selected template doesn't have a valid Hubshare ID. (0x80131500)
(M-Files <version> <timestamp>)

Full Error Stack

Solution

Make sure you are hub template object refers to the correct hub template ID.

image.png

Pic 3. Hub template on M-Files
 

image.png

Pic.4. Template properties and Identifier on Hubshare
 

Please refer to the M-Files Plugin for Hubshare guide for the full instructions.

Setting Up and Using M-Files Plugin for Hubshare

Still need help?

On this page