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
  • Hi Hansecontrol,

    Firstly, let me say that I am sorry that you feel that the experience has been negative so far, and I hope that we can do something about that. The "first steps" articles that you found, I believe, were probably my old LinkedIn articles. These were published a couple of years ago, before I started working at M-Files. As you yourself noted: the template you tried to use was unofficial, and I have heard others have had issues as well. The VAF could be seen as overkill for smaller projects, I concur, but it is mainly aimed at more complex solutions, looking to improve code quality (e.g. type checking), and aid with debugging, maintenance and unit testing.

    That said: I completely take your points on board. M-Files is most definitely interested in ensuring that our worldwide developer family have the information they need to do amazing things. Since I joined M-Files just under a year ago, we have started to publish much more content publicly. This includes the creation of the developer portal (http://developer.m-files.com), which has dedicated sections on the APIs and Frameworks that we provide. This is an ongoing process, and we're far from where we would like to be, but hopefully you will start to see that changing.

    Some points I would raise here:
    1. My role is as a "Partner Developer Evangelist". That is to say that my primary focus is supporting our partners who are developing software. However, my general approach is to always publish content publicly whenever possible to try and also allow developers at our end-users to take advantage of it.
    2. The primary publishing focus for developer resources (code samples, tutorials, introductions, etc.) is the Developer Portal. We have a "what's new" section which shows the content we're adding. You'll notice this has reduced slightly recently, primarily as I am creating content for the 2018 release.
    3. In addition to the public content, the amount of (secured) partner content has grown considerably as well. As an end-user this isn't available to you (yet), unfortunately, but I can see that changing over time as well.
    4. We have a developer newsletter which we are publishing 3 or 4 times per year, going to both end-users and partners. The first one went out in late September. Please let me know if you'd like me to add you to this (sending me a private message is probably easiest).

    In terms of the content that you wanted, let's see what we can do here:
    1. Currently the official Visual Studio VSIX for the VAF is only available to partners. However, I will ensure that your partner is aware of this request and I am sure that they will be able to provide it across to you. Please note that any support for this will need to go through your partner, which may be charged, as we have no official "direct" developer support.
    2. There is already an example of creating a "hello world" application using the template available in the M-Files Developer Portal. Hopefully this helps: developer.m-files.com/.../.
    3. We have published two webinars on "getting started" with the Vault Application Framework to our partners. The first is introductory and talks about what the VAF is, how it works, and why partners should use it. The second is practical and shows actually building and deploying VAF applications for a couple of simple scenarios. I will ensure that your partner is aware of your interest in this as well, as the recordings are available to them.

    Again: I take the points you raised very seriously. Please, let's discuss this further via a private message, and we'll see what we can do to help. Any suggestions you have around content that may aid others in your situation can be added to my backlog and we can see what we can do in the future.

    Regards,

    Craig.
Reply
  • Hi Hansecontrol,

    Firstly, let me say that I am sorry that you feel that the experience has been negative so far, and I hope that we can do something about that. The "first steps" articles that you found, I believe, were probably my old LinkedIn articles. These were published a couple of years ago, before I started working at M-Files. As you yourself noted: the template you tried to use was unofficial, and I have heard others have had issues as well. The VAF could be seen as overkill for smaller projects, I concur, but it is mainly aimed at more complex solutions, looking to improve code quality (e.g. type checking), and aid with debugging, maintenance and unit testing.

    That said: I completely take your points on board. M-Files is most definitely interested in ensuring that our worldwide developer family have the information they need to do amazing things. Since I joined M-Files just under a year ago, we have started to publish much more content publicly. This includes the creation of the developer portal (http://developer.m-files.com), which has dedicated sections on the APIs and Frameworks that we provide. This is an ongoing process, and we're far from where we would like to be, but hopefully you will start to see that changing.

    Some points I would raise here:
    1. My role is as a "Partner Developer Evangelist". That is to say that my primary focus is supporting our partners who are developing software. However, my general approach is to always publish content publicly whenever possible to try and also allow developers at our end-users to take advantage of it.
    2. The primary publishing focus for developer resources (code samples, tutorials, introductions, etc.) is the Developer Portal. We have a "what's new" section which shows the content we're adding. You'll notice this has reduced slightly recently, primarily as I am creating content for the 2018 release.
    3. In addition to the public content, the amount of (secured) partner content has grown considerably as well. As an end-user this isn't available to you (yet), unfortunately, but I can see that changing over time as well.
    4. We have a developer newsletter which we are publishing 3 or 4 times per year, going to both end-users and partners. The first one went out in late September. Please let me know if you'd like me to add you to this (sending me a private message is probably easiest).

    In terms of the content that you wanted, let's see what we can do here:
    1. Currently the official Visual Studio VSIX for the VAF is only available to partners. However, I will ensure that your partner is aware of this request and I am sure that they will be able to provide it across to you. Please note that any support for this will need to go through your partner, which may be charged, as we have no official "direct" developer support.
    2. There is already an example of creating a "hello world" application using the template available in the M-Files Developer Portal. Hopefully this helps: developer.m-files.com/.../.
    3. We have published two webinars on "getting started" with the Vault Application Framework to our partners. The first is introductory and talks about what the VAF is, how it works, and why partners should use it. The second is practical and shows actually building and deploying VAF applications for a couple of simple scenarios. I will ensure that your partner is aware of your interest in this as well, as the recordings are available to them.

    Again: I take the points you raised very seriously. Please, let's discuss this further via a private message, and we'll see what we can do to help. Any suggestions you have around content that may aid others in your situation can be added to my backlog and we can see what we can do in the future.

    Regards,

    Craig.
Children
No Data