This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Set an M-Files Date property to today | |
'Property ID 1187 = the date property you want to change (please change ID below) | |
'Original author: sweise | |
'Source: https://community.m-files.com/forums-1552881334/f/m-files-api/5306/vbscript-set-date-property-to-current-date | |
Dim oPropVal : Set oPropVal = CreateObject("MFilesAPI.PropertyValue") | |
oPropVal.PropertyDef = 1187 | |
oPropVal.TypedValue.SetValue MFDatatypeDate, DateSerial(Year(Now), Month(Now), Day(Now)) | |
Vault.ObjectPropertyOperations.SetProperty ObjVer, oPropVal |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0-00.usa.cc | |
0-180.com | |
0-30-24.com | |
0-420.com | |
0-900.com | |
0-aa.com | |
0-mail.com | |
0-z.xyz | |
0.pl | |
00.pe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Workflow state action for M-Files assignments | |
'Assumes current object is an assignment | |
'Marks complete the assignment for every user in AssignedTo property | |
'Note: M-Files history will show (M-Files Server) as the user who completed this assignment | |
Option Explicit | |
'Get Assigned To PropertyValue | |
dim pvAssignedTo: set pvAssignedTo = PropertyValues.SearchForProperty(MFBuiltInPropertyDefAssignedTo) | |
'Something is selected in Assigned To |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$addon = (Select-Xml -Path .\appdef.xml -XPath '/application/version' | Select-Object -ExpandProperty Node).InnerText | |
Write-Host $addon |