Follow @dporton

Add Context , Populate & Strip HTML out

You would have recently seen in LinkedIn that Barb asked the following question. “When you add html code into your survey, it displays beautifully but then it displays as code in your tabs. Is there a way in a DMS to globally eliminate any HTML code?” and I pointed him to a post that had been written awhile ago. Also in my comment I mentioned that I had a script that would add a context to an MDD and then strip out the HTML and put just the text in it. This article shows you the code for that script.

Read more

De-dupe your data files

In this article I will show you one way that you could use to de-dupe your data collection datafiles. I am not sure how you would get duplicates in it in the first place , but let’s just assume you do have them. This example will use the Museum.ddf file in the DDL. This file & the ddf can be found here “.DDLDataData Collection File”

Read more

Q & A : Comments in your scripting

Recently we where asked how do you put comments in your scripts. This quick post shows us that you can have two types of comments. The first is the block comment. To create a block comment place a ‘! at the start of the bit you want to comment out and then a !’ at the end and you will see that you have commented out that section.

    * Survey Description : Comments 
    * Last Updated       : 16th June 2011



' **** End of Survey

End Routing

The next type of comment you can have is a single line comment. To create a single line comment place a ‘ at the front of the line that you want to comment out.

Q & A: Merging Two Datasets

Recently we where asked the following question and thought it was a good one for our questions and answers section.

Q: In relation to our having two existing questionnaires with the same questions, I saw in the DDL documentation that a project database can be merged into a second project database. What software is used to do this and what happens when you have duplicate serial numbers ?

Read more

%d bloggers like this: