12-29-2023
09:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-29-2023
09:13 AM
Can you indicate a few areas where your having difficulty? Any error messages, missing functionality etc?
I see in one area you are using an ilogic API snippet that will only work from the document the rule is launched from in this case the assembly.
Dim oDocNumber As String = ThisDoc.FileName(False)
If you need to get the filename you can use IO.Path.GetFileNameWithoutExtension() see help page here
To get filename of referenced document using System.IO methods.
Dim fileName as String = IO.Path.GetFileNameWithoutExtension(refDoc.FullFileName)
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan