This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Read/Write multiselect property

Former Member
Former Member
Guys, I again need your help. I'm going crazy with a (i think simple) problem, maybe you can help me out?
I've got a "onboarding" document, containing a multi-select property called "Department". It's a simple "choose from list Departments (multiselect).
At the And of the Onboarding, I create a Employee Object in the workflow and "copy" some of the onboarding property values. That works fine! I can copy text and single select (lookup).

What drives me crazy is to read a multiselect and write the same values to the "same" property in the new employee object.

I tried alot... at the moment i try it this way:

Read Multi-Select property

...
' Abteilung/Department
Dim ilookups_abteilung : set ilookups_abteilung = PropertyValues.SearchForProperty(1234).TypedValue.GetValueAsLookups
...


Write to the new object

...
' Abteilung
oPropVal.PropertyDef = 1234
oPropVal.TypedValue.SetValue MFDatatypeMultiSelectLookup, ilookups_abteilung
oPropValues.Add -1, oPropVal
...


That gives me a "type conflict"
What's the problem?
Regards
Chris
Parents
  • Former Member
    Former Member
    First and most importantly, to the M-Files team on this forum, thank you for your candid discussion. You guys make this forum better, and an excellent resource that I visit daily. Specifically, I appreciate Craig and Joonas's contributions. Furthermore, an open dialog on these topics are helpful.

    While I don't have much insight on "Read/Write multiselect property", I'll toss my 2 cents in here as well.

    I am a new (6 month) M-Files end-user. I have hacked together some Workflow VBS to achieve what I have wanted. Most of these end up being relatively simple (

    I also have not made the jump to the VAF. The startup expense is a bit daunting. However, I can certainly see the benefits as well.

    That perhaps brings us to the bigger picture; using a dedicated partner to distribute a subset of solutions. The M-Files software pretty much speaks for itself. You can download the demo and get started immediately. The API documentation is excellent, and you can start writing VBS scripts right away. I can call software support, and get someone on the phone. This forum is another great resource, that I can access myself.

    However, when it came time to purchase the software, it required a SPOF contact with a rep. A few months back their communication was intermittent. With that being said, when it became time to purchase, they did seem responsive. However, it seems like an odd person for me to contact to get a Visual Basic Studio template. We are a small account (10 licenses), and I almost feel guilty bothering him . Furthermore, I don't know what is available, and am a bit naive on what to ask for, to potentially enhance our experience.

    Just my 2 cents. That being said, I should jump in to VAF. Who should I contact to get all the tools to get started?
Reply
  • Former Member
    Former Member
    First and most importantly, to the M-Files team on this forum, thank you for your candid discussion. You guys make this forum better, and an excellent resource that I visit daily. Specifically, I appreciate Craig and Joonas's contributions. Furthermore, an open dialog on these topics are helpful.

    While I don't have much insight on "Read/Write multiselect property", I'll toss my 2 cents in here as well.

    I am a new (6 month) M-Files end-user. I have hacked together some Workflow VBS to achieve what I have wanted. Most of these end up being relatively simple (

    I also have not made the jump to the VAF. The startup expense is a bit daunting. However, I can certainly see the benefits as well.

    That perhaps brings us to the bigger picture; using a dedicated partner to distribute a subset of solutions. The M-Files software pretty much speaks for itself. You can download the demo and get started immediately. The API documentation is excellent, and you can start writing VBS scripts right away. I can call software support, and get someone on the phone. This forum is another great resource, that I can access myself.

    However, when it came time to purchase the software, it required a SPOF contact with a rep. A few months back their communication was intermittent. With that being said, when it became time to purchase, they did seem responsive. However, it seems like an odd person for me to contact to get a Visual Basic Studio template. We are a small account (10 licenses), and I almost feel guilty bothering him . Furthermore, I don't know what is available, and am a bit naive on what to ask for, to potentially enhance our experience.

    Just my 2 cents. That being said, I should jump in to VAF. Who should I contact to get all the tools to get started?
Children
No Data