VAF.Extensions.Community
VAF.Extensions.Community copied to clipboard
Community-built .NET extension methods for use with the M-Files Vault Application Framework.
When setting property values from ObjVerEx, there is already ToLookup method which is converting the ObjVerEx to Lookup. The default behavior isn't perhaps what we usually want, because then the...
There are methods for adding lookups with a specific version, e.g. `AddLookup(propId, objVer, exactVersion)` on both `PropertyValues` and `ObjVerEx`. However, when one needs to get a `Lookup` to an exact...
Use the following configuration class structure: ``` [DataContract] public class Configuration : ConfigurationBase { [DataMember] [RecurringOperationConfiguration(VaultApplication.QueueId, "TaskTypeB")] public Schedule Schedule { get; set; } = new Schedule() { Enabled =...
In the ExpandSimpleConcatenation.cs a regex (ExtractPlaceholders) is used to extract property ids (and other stuff) from a configuration placeholder (using ids, aliases or guids etc...) then a function : ToPropertyIds...
Could we have helper methods on ObjectCopyOptions for the underlying Properties ? Chainable would be nice too. These could be the above specified helpers: - public ObjectCopyOptions ReplaceOrAdd(int propertyId, MFDataType...
Could we have helper methods on ObjectCopyOptions for the built-in properties that allows chaining ? It would allow users to use the same syntax as the one suggested in #24...
Since the update of the VAF.Extensions from 1.2 to 1.3 (VAF 2.2 to 2.3), the background tasks that were created using the TaskQueueBackgroundOperationManager can no longer run in parallel. For...
Would it be possible at some point in future have actions for the tasks in the Dashboard? Cancel / Kill action could be usefull for the running tasks. Maybe also...
When editing a specific task's DashboardListItem I'm going through the items returned by _this_.TaskManager.GetDashboardContent(_this_.TaskQueueResolver) and then matching by Title. This adds some unnecessary boilerplate as now I also put the...
They are currently quite verbose. Could we add some helper methods for creation? - public static PropertyValueInstruction CreateRemoveInstruction(int propertyId); - public static PropertyValueInstruction CreateReplaceOrAddInstruction(int propertyId, MFDataType dataType, object value) -...