Macos uses NSFilePrefertAction and userInfo to implement context menu, but it does not take effect

On the macOS platform, I am planning to use the combination of NSFileProviders Custom Action and userInfo to implement custom context menus. However, the NSExtensions FileProviders Action Activation Rule in info does not work as long as it is related to userInfo. Are there any restrictions on the use of this userInfo? keepDownloaded is bool value

Macos uses NSFilePrefertAction and userInfo to implement context menu, but it does not take effect
 
 
Q