Reg:links to Infopath 2007 browser forms in webmails/outlook (emails) - InfoPath Dev
in

InfoPath Dev

Reg:links to Infopath 2007 browser forms in webmails/outlook (emails)

Last post 08-23-2010 11:51 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-18-2010 05:28 PM

    Reg:links to Infopath 2007 browser forms in webmails/outlook (emails)

    Hi All,

    I have a Browser enabled infopath 2007 form with c# code behind hosted on a custom aspx page on MOSS 2007. There are number
    of controls in that Infopath form including Buttons, Textboxes, Sections etc. I am enabling/disabling some of those controls
    based on user roles & other criteria using conditional formatting of the controls (for example, if IsMemberOfLegal = 0,
    I am choosing the option of "Disable this control" in conditional formatting, I am setting the value of the variable IsMemberOfLegal
     in C# code behind based on logged in user role). When I open this form within the sharepoint, the controls are enabling\disabling
     appropriately based on the logged in user role, so all is well With respect to security.

    But, I also have a requirement were in I need to send the filled in infopath forms as a hyperlink in the emails. So when users click on
    this hyperlink the infopath form opens up, But they are able to see some of the controls which should be disabled for them as enabled.
    But when they login with same credentials on to sharepoint & open up the form the controls which should be disabled for them are disabled.

    Is this happening because sharepoint cannot figure out the security of the user (role) because they are opening it from the email?

    If so, any suggestions on how to over come this.

    Thanks,

  • 08-19-2010 12:23 AM In reply to

    Re: Reg:links to Infopath 2007 browser forms in webmails/outlook (emails)

    Correct, browser forms don't support user roles.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-23-2010 08:55 AM In reply to

    Re: Reg:links to Infopath 2007 browser forms in webmails/outlook (emails)

    Hi Patrick,

    Thanks for the reply. I found out that Browser forms do support roles. The problem I was seeing is because I have redirected the the form to defulat page i.e. formserver.aspx, when user clicks on email link. But the infoptath form was actually embeded in a custom webpage with a differnet url. I corrected my redirection to right URL & all is well. 

     

  • 08-23-2010 11:51 PM In reply to

    Re: Reg:links to Infopath 2007 browser forms in webmails/outlook (emails)

    No kidding!? Microsoft used to say they don't support user roles. Oh well, I should have checked. Anyway, thanks for the reply.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.