Publishing Rich Client with managed code and submiting pictures with qRules - InfoPath Dev
in

InfoPath Dev

Publishing Rich Client with managed code and submiting pictures with qRules

Last post 06-02-2011 02:40 PM by Latte. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-02-2011 09:31 AM

    • Latte
    • Not Ranked
    • Joined on 05-19-2011
    • Posts 15

    Publishing Rich Client with managed code and submiting pictures with qRules

    Need some help here, I'm using a hosted SharePoint environment with a few restrictions one of which is publishing IP documents as templates. Is the only option I have truly to publish this as "Full Trust" and use a digital certificate? Or is there something else I can do? 

    Another thing, how do I submit a picture with qRules SubmitListItems? I know I can use SaveToSharePoint command but I want the picture to be saved with the item information since it's the items picture? 

     Thanks. 

  • 06-02-2011 09:42 AM In reply to

    Re: Publishing Rich Client with managed code and submiting pictures with qRules

    Hi:

    I don't know the answer to your question on your hosted SharePoint eviro, I'm afraid, hopefully someone else will chime in.

    You can add attachments to a list item when you use SubmitToSharePointList. Here's a link to a doc that explains how.

    Hilary Stoupa

  • 06-02-2011 11:47 AM In reply to

    • Latte
    • Not Ranked
    • Joined on 05-19-2011
    • Posts 15

    Re: Publishing Rich Client with managed code and submiting pictures with qRules

     Thanks for the link, now I'm having an error with "Failed to select node for SharePoint List Id". I've looked at a lot of post and I've added an ID field in my main data source, is there anything else I should be doing? The form is repeating so I entered it as /id=my:ID.

    Please see form attached for assistance. Thanks. 

     

  • 06-02-2011 02:14 PM In reply to

    Re: Publishing Rich Client with managed code and submiting pictures with qRules

    Well, the error means that with the information provided, qRules was not able to select that field. Looking at your template and your mapping, I can see your "ID" field is inside your repeating group. But in your mapping, you've selected my:myFields as the repeating group. Actually, my:inventory_items is the repeating group.

    When you map, then, select my:inventory_items as the repeating group. qRules uses the repeating group XPath + the relative path of "my:ID" to locate the ID node.

    Hilary Stoupa

  • 06-02-2011 02:40 PM In reply to

    • Latte
    • Not Ranked
    • Joined on 05-19-2011
    • Posts 15

    Re: Publishing Rich Client with managed code and submiting pictures with qRules

     Nice one, thanks a lot. You've been of great help.

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.