Multiple Dlls for infopath manage codes

R

RJ

Hello all, newbie here, I have been experiencing new things with Infopath as
I head into coding. Now, some companies have strict policies and I am in
one. I have to create a couple of DLLs that are classes that can go with any
form. Now my issue is, how do I keep those dlls together? EX, Create AD
class that uses the dll file. Works great on box, but when deployed as an
administrator approved form for form services. It doesn't work? Why is
that? Is there a special way to hold multiple dlls for these forms? I
would have to have it in the data manager and what if someone finds the codes
they they should not... not good! So would it have to be deployed as a
feature or put the dlls files where the admin file stays? The Dlls are
deployed to the GAC but nothing seems to work and unfortunately I have been
thrown into a sharepoint developer role which I am not. Pls advise or direct
me on the best solution for this situation. Thanks for your time.
 
S

Shiva (GGK Tech)

Hello,

After adding the DLLS to your solution it doesn’t works for administrator
service? It means, it will works for client services or any other user?
Can you explain more detail on your code to access that DLL in your solution?
If we want we can create one DLL for two DLL methods. Add the final DLL to
your solution and get the all the properties from one DLL.
 
R

RJ

thank you for your response, We did that solution and it worked great often
a lengthy work around but when you have custom dlls, or using .net
assemblies, how do you have it reference to that dll instead of adding all
the properties to one .dll? Like I mentioned it works great on box but
during deployment time, what would be the best way to make that Dll work?
Can't just drop it in the Sharepoint GAC is the culprit maybe. Would you
need to register it, these days admins just drop it in the GAC folder and
they say, it will reference the form (We don't think so) Any ideas?
 
R

RJ

A rephrase from a developer's questions... I hope this will explain what we
are trying to achieve here...

"Where and how do I deploy the custom assemblies? Obviously, I can
reference and use .Net Assemblies, so I know it is possible. How do I deploy
custom classes on the server so they can be referenced from InfoPath managed
code?"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top