This question already has an answer here:
Sometimes I have an issue, for which I can not find a solution/answer on your platform. Then later I find the solution/answer by my self. If I then think that this knowledge could help other developers, is there a preferred way how I can post the question and the answer in only one step? Or should I post it as a normal question and quickly answer it in a second post?