Can IP 2010 identify where and what? - InfoPath Dev
in

InfoPath Dev

Can IP 2010 identify where and what?

Last post 03-01-2012 08:08 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-01-2012 05:15 AM

    Can IP 2010 identify where and what?

    I am trying to move away from udc files, because of security issues. I dont want users to be able to fiind any of the udc files, nor do I want them to be able to read them. I have created a project I have attached to IP where I have temporarily elevated user prevledges to read a SP list, grab the connection string and use that in the form. After a day of hammering this thing into submission, I had to hard code the IP URL and Path. Doing it this way I ran into a small issue. When testing the client on my desktop I have to use the direct connection string. After publish I can refer to the attached dll to do the work for connection.

    1. does IP know it's location, or what site it is in? how can I grab this value?

    2.is there a why for IP to know whether it is running off the desktop (test) as opposed to a published browser form? How can this value be grabbed or determined?

    Kind regards,
    Larry
  • 03-01-2012 08:08 AM In reply to

    Re: Can IP 2010 identify where and what?

    qRules provides functions to let you get these values without writing any code.  More info: http://www.qdabra.com/en/products/qRules_overview.aspx

    Otherwise, you'll need to write custom code to get these values.

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

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