I developed a plugin for my company, and now I want to track the use of this plugin within my team : Who clicked on a specific PushButton of the plugin and launched an IExternalCommand ? When did this happen ? What project was concerned ?
I thought of writing this information on a .txt file stored in our server. Is it a good practice ? If not, what do you advise me to do ?
Thank you in advance.
Solved! Go to Solution.
Solved by RECArchi. Go to Solution.
Yes, something like that sounds OK to me. I would spend a moment researching the Internet for existing libraries that do what you need. I am sure that there are lots of them out there, so you don't have to waste time reinventing the wheel.
We do this using the .NET web request API to write usage information to an SQL database on our server. Database tools have some advantages over just writing to a plain text file (easier to search, filter, maintain the data, etc.). But a text file would probably work fine too, depending on how much data you need to log/keep track of.
I do not want to track much information : user, date and Revit project concerned, and write it on each line of the text file.
My goal is to evaluate how much my plugin is used. I don't think an SQL database is needed.
Sincerely.
Can't find what you're looking for? Ask the community or share your knowledge.