Giter VIP home page Giter VIP logo

Comments (4)

ahaydon avatar ahaydon commented on June 18, 2024 1

The issue is that Copy-QlikApp is not encoding the name before sending the request to the API, it's fine for the filter as this is correctly encoded. As a workaround you should be able to use %26 in place of &.

from qlik-cli-windows.

ahaydon avatar ahaydon commented on June 18, 2024 1

The issue is that the %26 is being passed to the filter and being encoded a second time, I have now updated the copy command to correctly encode the name so you can use & and it will be encoded automatically.

from qlik-cli-windows.

alexometis avatar alexometis commented on June 18, 2024

Thanks. I've tried it but to no avail:

$apps = 'This Extract','This %26 That Extract'

foreach ($app in $apps)
{	
	echo "Processing: $app"
	copy-qlikapp -id (get-qlikapp -filter "stream.name eq 'Extract' and name eq '$app'").id -name "$app COPY"
}

I've also tried double quotes when listing the app names. I'm not a PS expert so I'm not sure how it interprets that... but still I just get errors.

from qlik-cli-windows.

alexometis avatar alexometis commented on June 18, 2024

Thanks - I'd renamed my apps to avoid this, so can't easily test now, but thanks for resolving.

from qlik-cli-windows.

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.