Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

DynamicsNavFile

Provides an abstraction over Dynamics NAV object files.

Nested types and modules

TypeDescription
NavObject
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A type definition of a Dynamics NAV object.

Functions and values

Function or valueDescription
checkTagsInFile(...)
Signature: requiredTags:seq<string> -> acceptPreTagged:bool -> invalidTags:seq<string> -> fileName:string -> string * string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Checks a Dynamics NAV file for missing required and invalid tags and raises this as errors

checkTagsInObjectString(...)
Signature: requiredTags:seq<string> -> acceptPreTagged:bool -> invalidTags:seq<string> -> objectString:string -> name:string -> string * string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Checks a Dynamics NAV object for missing required and invalid tags and raises this as errors

DateRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to retrieve modified date.

fileNameFromObject(...)
Signature: (navObject:NavObject * fileEnding:string) -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Returns a standardized filename based on the given NavObject.

getHighestTagVersionInFiles(...)
Signature: versionTag:string -> fileNames:seq<string> -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Gets the highest version number for a specified version tag in a number of Dynamics NAV objects in a set of object files

getHighestTagVersionInObjects(...)
Signature: versionTag:string -> sourceCode:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Gets the highest version number for a specified version tag in a number of Dynamics NAV objects

getInvalidTags invalidTags versionTags
Signature: invalidTags:seq<string> -> versionTags:seq<string> -> seq<string>
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Get all invalid tags from a Dynamics NAV version tag list

getMissingRequiredTags(...)
Signature: requiredTags:seq<string> -> versionTags:seq<string> -> seq<string>
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Get all missing required tags from a Dynamics NAV version tag list

getTagVersionInObject(...)
Signature: versionTag:string -> sourceCode:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Gets the version number for the specified version tag in a Dynamics NAV object

getTagVersionInVersionTagList(...)
Signature: versionTag:string -> tagList:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Gets the version number for the specified version tag in a Dynamics NAV version tag list

getVersionTagList(text)
Signature: text:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Returns the version tag list from Dynamics NAV object.

ModifiedRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to retrieve the modified flag.

modifyNavisionFiles(...)
Signature: requiredTags:seq<string> -> acceptPreTagged:bool -> invalidTags:seq<string> -> versionTag:string -> newVersion:string -> removeModified:bool -> newDateTime:DateTime -> fileNames:seq<string> -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Checks a Dynamics NAV object for missing required and invalid tags and raises this as errors. It also changes the given tag, resets the modified flag and time stamp.

NavObjectDateFormat
Signature: string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A NAV culture-specific date format.

ObjectRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to parse objects in a Dynamics NAV file.

objectsInObjectString(text)
Signature: text:string -> NavObject list
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Splits an object string into multiple Dynamics NAV objects of type NavObject.

ObjectSplitRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to find objects in a Dynamics NAV file.

removeModifiedFlag(text)
Signature: text:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Removes the modified flag from a Dynamics NAV object.

replaceDateTimeInString dateTime text
Signature: dateTime:DateTime -> text:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Replaces the timestamp in a Dynamics NAV object.

replaceDateTimeInStringWithFormat(...)
Signature: dateTime:DateTime -> dateFormat:string -> text:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

replaceInVersionTag(...)
Signature: versionTag:string -> newVersion:string -> tagList:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Replaces a version tag in a version tag list from Dynamics NAV object

replaceVersionTag(...)
Signature: versionTag:string -> newVersion:string -> sourceCode:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Replaces a version tag in a Dynamics NAV

replaceVersionTagList text newTags
Signature: text:string -> newTags:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Replaces a version tag list from a complete Dynamics NAV object with a new version tag list

setVersionTags(...)
Signature: requiredTags:seq<string> -> acceptPreTagged:bool -> invalidTags:seq<string> -> versionTag:string -> newVersion:string -> removeModifiedFlag:bool -> newDateTime:DateTime -> fileNames:seq<string> -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Checks a Dynamics NAV object for missing required and invalid tags and raises this as errors. It also changes the given tag, resets the modified flag and time stamp.

splitNavisionFiles fileNames destDir
Signature: fileNames:seq<string> -> destDir:string -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Splits the given files into individual object files in the specified destination directory.

splitVersionTags(tagList)
Signature: tagList:string -> string []
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Splits a version tag list from Dynamics NAV object into single tags

TimeRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to retrieve the modified time.

VersionRegex
Signature: Regex
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Regex which allows to retrieve the version list.