spMFSynchronizeObjectType

Signature

EXEC dbo.spMFSynchronizeObjectType
    @VaultSettings = N'<settings>',
    @Debug = 0,
    @Out = NULL OUTPUT,
    @IsUpdate = 0,
    @ProcessBatch_ID = NULL OUTPUT;

Returns

INT: 1 on success; -1 on error.

Parameters

@VaultSettings
  • Type: NVARCHAR(4000)

  • Required: Yes

  • Description: Vault settings (e.g., from fnMFVaultSettings()).

@Debug
  • Type: SMALLINT

  • Required: No (default = 0)

  • Description: Debug level. - 1 = Standard Debug Mode

@Out
  • Type: NVARCHAR(MAX)

  • Required: No (OUTPUT)

  • Description: XML result.

@IsUpdate
  • Type: SMALLINT

  • Required: No (default = 0)

  • Description: When set to 1, push updates from SQL to M-Files.

@ProcessBatch_ID
  • Type: INT

  • Required: No (OUTPUT)

  • Description: References the ID of the ProcessBatch logging table.

Purpose

Internal procedure to synchronize ObjectTypes Used by spMFSynchronizeMetadata and spMFSynchronizeSpecificMetadata

Changelog

Date

Author

Description

2024-06-05

LC

add processbatch_id for logging

2018-04-04

Dev2

Added License module validation code.

2016-09-26

Dev2

Removed Vault Settings parameters and pass them as comma separated string in single parameter