This phrase means someone does something for you. You use it when you are thankful for their help. It shows respect to the person who helped you.
に。
I had my teacher write a letter of recommendation for me.
、。
I'm sorry to trouble you, but could I have you wait just a moment?
、に。
It would be a great help if I could have you look over the meeting materials by tomorrow.
に、。
As this relates to personal information, I would like to ask you not to explain in detail.
、、。
Thank you very much for taking the trouble to come today during your busy schedule.