Pergunta

I've customized a SharePoint List Forms using a PowerApps button.

Is it possible to run custom JavaScript code in these PowerApps forms?

I was not yet able to do it. It seems Microsoft does not want us to do it. But is there some kind of a workaround? For example, PowerApps has no printing capabilities and I'm trying to add an HTML button that would do just that.

enter image description here

enter image description here

I have also tried a button control, but it does not let me add my own JavaScript there:

enter image description here

Adding a script tag via the HTML control didn't work either :(

enter image description here

If you have any suggestions or insight - I would really appreciate it.

Foi útil?

Solução

Powerapp is meant for power users. These power users have been long using tools like PowerPoint and excel. So the way here does seems limited to excel formulas, not custom code.

Spfx could be the way for devs, but yes it will require a lot more effort.

Outras dicas

By default, we cannot run custom JavaScript code in these PowerApps forms.

PowerApps is for no custom code.

The UI of PowerApps is intended to be a no-code surface for building apps without code.

There is a workaround for the issue.

You could customize the list form by InfoPath.

Custom code is not allowed in power apps.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top