-
As Samir mentioned -- in my sample, I was using a return statement to exit the code, so, as you realized, you weren't ever getting to your export functionality... Glad you're all sorted out!
-
[quote user="Samir Farid"]
In the following statement you check whether showInput is null or not:
if (null != showInput)
If the field is in the datasource it will always have a value of True or False. So when you run the next statement, one of both will always run causing the code to execute the and then return (Exit the method). ...
-
I would think it's already running SSL as that is a best practice, but if that architectural decision was not made, then it would need to be considered and setup. It is not related to InfoPath, though, so it would require the SharePoint Administrator or Architect to purchase the server certificates and set it up in IIS.
-
In the following statement you check whether showInput is null or not:
if (null != showInput)
If the field is in the datasource it will always have a value of True or False. So when you run the next statement, one of both will always run causing the code to execute the and then return (Exit the method). That's why the export part will ...
-
Sure seems like it should get the URL correctly to me..... but that's the problem... if you look at the source portion of the URL, it doesn't include the SSL portion of the original URL I am using to open the form. How would I configure my environment to run ssl internally? Are there configuration settings that need ...
-
I assume the web service you are using is the User Profile Service. if so, then this service pulls data from the SharePoint Profile Database. This information gets updated through the profile import, which pulls new info from AD. If you aren't running the profile import regularly, then you will never see AD changes in ...
-
I actually got it working how I imagined it...
I removed the lines: if (showInput.ValueAsBoolean == false)
{
showInput.SetValue("true");return;
}
Now it takes the information, puts it in the hidden form, hides the top, unhides the bottom and exports the current view to a PDF. Now I have other things I want to do with it, but I ...
-
1) Create a text box for keeping track of usernames.
2) Create a Rule in Form Options that adds userName() to it for the first uer.
3) Create a condition that says if the text box is not empty and does not contain userName(), then write the current contents of the textbox plus the current userName() back to the textbox with a delimiter of some ...
-
Why move to a new folder? Why use folders at all instead of using metadata with grouping? Help us understand your business requirements.
-
Thank you for the example and for taking the time to help me out.
I reviewed your example and implimented the differences in code into my script. Now the showing / hiding works great, but it doesn't seem to execute the section of code that comes after (the exporting of the current view to PDF). Would something in the code that you just posted ...