File.IsPathTemporary(Text) Method
Version: Available or changed with runtime version 2.0.
Validates whether the given path is located in the current users temporary folder within the current service.
Note
This method is supported only in Business Central on-premises.
Syntax
[Ok := ] File.IsPathTemporary(Name: Text)
Note
This method can be invoked without specifying the data type name.
Parameters
Name
Type: Text
The name of the file, including the path.
Return Value
[Optional] Ok
Type: Boolean
true if the name point to a location is the users temporary folder within the current service; false otherwise. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for