2

I want to rename the file attached in InfoPath form with my random generated number.I don't want to write custom code

Is there any possibility to do it using Action and Rules.

Can anyone suggest me the possible ways to do this?

Thanks in advance

2
  • To rename an InfoPath attachment, you first have to decode it, change its file name, encode it again, and then save it. So probably not possible to change name without using custom code. May 5 '16 at 12:55
  • do you have any code snippet or link?
    – Codec
    May 11 '16 at 5:17
2

To rename an InfoPath attachment, you first have to decode it, change its file name, encode it again, and then save it. So probably not possible to change name without using custom code.

From these reference from MSDN and bizsupport, you can get the information. And from this article you can get more important information about InfoPath attachments.

Hope this will help.

4
  • i tried this code bizsupportonline.net/blog/2009/03/… but it is giving me Object reference not set to an instance of an object error
    – Codec
    May 12 '16 at 8:18
  • You are getting this error because of throwing a NullReferenceException in run time. Can you please check from where you are getting this error specifically? And check if you used the class files properly. You can try this article, it has some more details on the same process which you are following from bizsupport. This may help. May 12 '16 at 20:22
  • can we add InfoPath having custom code in office365?
    – Codec
    May 13 '16 at 3:36
  • Probably you can't. May 14 '16 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.