03-01-19 02:54 AM
Answered! Go to Answer.
20-04-20 04:18 PM
20-04-20 05:29 PM
31-07-20 09:13 PM
31-07-20 09:35 PM
Honestly? Google and Stack Overflow are two of my best friends. Though when it comes to modifying an office application specifically, I'll also refer to their VBA guide. The Excel and Word VBOs are atypical compared to how you would extend the other VBOs, so I've also in the past just copied and modified an existing code stage that seemed somewhat similar.
The short of it is: "How do I do [x] in [y] language?" So if that comes to "How do I modify a column of a collection in C#", I'll search "C# datatable modify column" and see what I can find. If it's something like shared inboxes in outlook, I'll literally just search "outlook vba shared mailbox" and go from there.
Best practice if you're modifying an out of the box VBO, is to create a separate one and label it "Extended", so you can import new releases of the originals later on without losing any data.
Personally, I prefer to develop anything new in C# because that's where my coding background prior to Blue Prism mostly is. The only major downside is that it makes it more difficult when trying to share actions to people who are trying to combine them with the base VBOs, because those are in VB. But really, it's all personal preference.
31-07-20 10:28 PM
I appreciate your response.
Question: I tried doing the above to be able to read emails from shared mailbox subfolder but I cannot get it to work. I'm able to read from the shared mailbox inbox but that's about it.
Do you know what could be preventing me from getting access to the shared mailbox subfolders. I made sure all the folders in the shared mailbox were visible with owner rights to my main inbox.
How can I get the outlook folder ID maybe if I pass the folder ID it will work.
31-07-20 11:28 PM
The "Shared E-Mail" field needs to be the e-mail address of the shared inbox, not the label.
If you want the folder IDs, you'd have to loop through each folder and write out the name and number someplace. Inbox always has the same folder number, so the sub-folder field would theoretically always match to that.
Otherwise, I found that in some instances of O365, there was a security patch pushed within the last year or so that prevents this from working. If the above doesn't work, give the new version of the official VBO a try, or have your process automate Outlook to click the mailbox you're trying to read and then modify the code stage to read the currently selected folder.
31-07-20 11:33 PM
Thank you for the answer.
One more thing. Where can I go to grab the latest version of the outlook VBO?
31-07-20 11:38 PM
01-12-20 02:13 PM
_nameSpace.Logon(Profile, , True, True)
I tried
_nameSpace.Logon(Profile, , False, True)
Please help me.
01-12-20 03:31 PM