Sharepoint - InfoPath Dev
in

InfoPath Dev

Sharepoint

Last post 12-13-2006 12:58 AM by happydigit. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 08-16-2005 10:12 AM

    • vieira
    • Not Ranked
    • Joined on 06-22-2005
    • Brazil
    • Posts 5

    Sharepoint

    Hi =]

    I need to hide some textboxes from the user depending on who's logged in sharepoint.

    any way to do this?

    thx in advance =]
  • 08-16-2005 11:38 AM In reply to

    Hi Vieira,
    Do you need to hide the textboxes in the InfoPath form or on SharePoint?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 08-16-2005 12:01 PM In reply to

    • vieira
    • Not Ranked
    • Joined on 06-22-2005
    • Brazil
    • Posts 5
    i need to hide some textboxes in an infopath form

    thx
  • 08-16-2005 01:58 PM In reply to

    Hi again,
    You can do this using User-Roles and conditional formatting on the fields in InfoPath. Create roles for each kind of user that will be using the form. Then add display conditions for each form that make the field read-only if they are not the correct role. Good luck!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 12-12-2006 06:15 AM In reply to

    I have the same problem but I have to use only webcompatible forms. have anybody ideas how to realise this?

    note: infopath user roles are not supported in webcompatible features.
  • 12-12-2006 12:03 PM In reply to

    Hi HappyDigit and welcome to our forum!
    I think you are on the bleeding edge here. We have an Active Directory Web service that we sell to people and is bundled in our Database Accelerator suite. That allows you to query permissions. The Database Accelerator Web services can set user roles and permissions based on Active Directory info. By using UDC files (universal data connections) and Office's new SSO authentication, it's possible to create data connections for these Web services and then include them in the InfoPath form you intend to display in the browser using Form Server. In this case, the roles will be set based on values in your form, or in meta data that is stored referring to your form. After setting this all up, in theory you should be able to add open rules that switch the view based on whether the form was opened read-only or not. You can have rules that also check if the user is in a certain group and change the view based on that information.

    I will say that it's a lot easier to do this with the rich client. Form Server does not support everything (as you have found out) and one of the key value propositions of InfoPath is the ability to offload server processing, support offline access, and provide a richer editing experience. User Roles require domain authentication and that is more complicated with Form Server since it works as proxy between the browser and the data connection.
    Patrick Halstead
    Project Manager at Qdabra
  • 12-13-2006 12:58 AM In reply to

    Hello Patrick,

    thanks for your answer. Sometimes I don't understand the product politics in view up features of Microsoft... however.

    Is it possible that you make available with webservice to me? If you want contact me via email: [email protected]

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