Giter Club home page Giter Club logo

Comments (5)

tfwoa avatar tfwoa commented on July 30, 2024 1

Thanks @brasov2de - that helps a lot! Now to add some customisations relevant to our environment so I can check this is working...

from powerapps-samples.

torbenpedersen avatar torbenpedersen commented on July 30, 2024

Same experience here following the README. Step 9 of the IncrementControl has the following command that fails:

IncrementControlSolution>msbuild /t:rebuild /restore /p:Configuration=Release

npm run clean -- --noColor --buildMode production --outDir "C:\PowerApps-Samples\component- framework\IncrementControl\out\controls" --buildSource MSBuild

> [email protected] clean
> pcf-scripts clean --noColor --buildMode production --outDir C:\PowerApps-Samples\component-framework\IncrementControl\out\controls --buildSource MSBuild


'pcf-scripts' is not recognized as an internal or external command,
operable program or batch file.'

from powerapps-samples.

torbenpedersen avatar torbenpedersen commented on July 30, 2024

I found the issue on my side was missing packages as they had failed due to a proxy certificate from Zscaler. If using Zscaler, these commands helped npm get access to the registry:

npm config set proxy http://gateway.zscaler.net:80
npm config set https-proxy http://gateway.zscaler.net:80
npm config set strict-ssl false

from powerapps-samples.

tfwoa avatar tfwoa commented on July 30, 2024

Thanks for the input @torbenpedersen.
We're not using zscaler so I don't think that's part of the issue.

I've looked at the log and dug into the ESLint error. It was something like 'unexpected empty constructuor' in the Index.ts file.

 /**
  * Empty constructor.
  */
 constructor() { }

I commented out the last line of this block and retried the commands in step 9.

/**
  * Empty constructor.
  */
 //constructor() { }

Now the build works successfully, and I've imported it into our environment. Is this a valid fix?

However, the control is not available to add to an entity according to the steps outlined here (it doesn't appear in the list under 'add a control'). What could cause this?

This is on the PowerAppsGridCustomizerControl sample.

from powerapps-samples.

brasov2de avatar brasov2de commented on July 30, 2024

Hi @tfwoa ,
The PowerAppsGrid customizer control cannot be chosem from a list of controls.
You would use the Power Apps Grid as a control, and define the name of the customizer control as a parameter for the Power Apps Grid.
I have a blog about this, maybe it helps : https://dianabirkelbach.wordpress.com/2022/07/27/power-apps-grid-control-first-glimpse-to-the-cell-renderer-and-editors/

from powerapps-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.