Wednesday, October 31, 2012

InfoPath Permissions

In InfoPath, I was not able to set permissions for controls. This restricts us from setting certain controls from being hidden or from disabling when a certain user is looking at an InfoPath form. In order to do this I followed the steps at the following link. It is pretty simple with only a few minor changes to the code and a couple of data connections.


Friday, October 26, 2012

SharePoint

SharePoint is the topic du jour. I am using SharePoint to maintain tasks by using two different lists. The first list is a request list which allows other people to requests tasks, in other words time to work issues/enhancements. The second list is the living list which displays all of the tasks I am currently working. In the Request list, requesters are allowed to attach documents to a list item. Now, this is where the issues arises since SharePoint's attachment process is basically a black box, especially to myself. Using a workflow, I want to use the "Create List Item" action and in the attachments field I want to pass the attachment as the value. SharePoint shows the value of the attachment field as a boolean, which obviously doesn't pass the actual file to the new list.

This is an issue that I have no solved yet to be honest. I will continue looking into this issue but the outlook is bleak so far, but I will update if I find a good solution that doesn't involve VB or C#.

Edit:
I have not found a solution for this that does not use custom code to get the attachment.