Posts

Showing posts from April, 2014

Freenas - Setting up the Transmission Plugin on Freenas with Guest Permissions

Follow the guide here by Supa, there's not much to it: http://forums.freenas.org/index.php?threads/newbie-guide-to-freenas-plex-couchpotato-sickbeard-and-transmission.19043/ For the linux noobs like myself, these are the two steps you need to complete in order to set up Transmission so that any files it downloads are read/writeable by all users. Go to your jails tab again and enter into the Transmission Command-Line Shell: Type: edit /usr/pbi/transmission-amd64/etc/transmission/home/settings.json and just change the field unmask to "unmask = 0". Once finished, hit esc, leave, and save the changes. If your settings.json file is not located there you will need to go back to Freenas and click on Plugins > Transmission on the sidebar and review the location of configuration directory.  Then you can input that into the Command Line. On newer versions of Transmission the setting Unmask has been renamed to Umask.

InfoPath XMLWriter - Adding Rows in a Repeating Table That Contain a Boolean Field

Came across an issue today with an InfoPath form I am working on. In the form there is a Repeating Table that contains within it both String and Boolean Fields. In order to make the form prettier we have created custom buttons to add a row to the Repeating Table.  These button use an XMLWriter to add a new row. For any new fields (String or Boolean) the writer does the following to create a blank Field: writer.WriteElementString("fieldname", myNamespace, ""); The problem I had was that if you created Boolean fields like the line above, and then tried to Submit the form to SharePoint, you receive a validation error "Some rules were not applied.  InfoPath cannot submit the form" Turns out the Boolean Fields were failing to validate with the empty string value.   This was solved by putting in a value that isn't used in the form for the Boolean Field: writer.WriteElementString("fieldname", myNamespace, " 0 &q

SharePoint 2010 - Export to Spreadsheet Action Missing on Survey Overview Page

Most people can't find the 'Export to Spreadsheet' option from the Action drop-down menu due to not being on the Overview.aspx page. But if you've modified the Overview page via SharePoint Designer, then you've probably lost the Overview menu completely The solution is to create a New List View via SharePoint Designer and set it as Default (crucial!). Done. If you don't set the new view as the default page, then the Export option will still be missing.