Giter Club home page Giter Club logo

Comments (3)

allenlooplee avatar allenlooplee commented on June 17, 2024

我刚刚照着书本的步骤徒手搞了一个项目,用最新的UiPath Studio Pro。你看看For Each活动的Type Argument属性现在是不是Object,如果是的话,你改为Newtonsoft.Json.Linq.JObject应该就可以了。

image

原因是,For Each活动的item变量如果没有选择默认是Object类型,但Results集合中的元素实际上是Newtonsoft.Json.Linq.JObject类型,Option Strict Off的时候允许在声明类型为Objectitem上使用Newtonsoft.Json.Linq.JObject的方法,Option Strict On的时候就必须把item变量设为正确的类型才能使用。我估计写书的时候UiPath使用Option Strict Off,现在使用Option Strict On。这样做的原因应该是防止类型不安全。

另外,如果你打算在正式的流程上用OCR,你可以看看云可扩展OCR活动包

from rpabook.

GongChun avatar GongChun commented on June 17, 2024

from rpabook.

allenlooplee avatar allenlooplee commented on June 17, 2024

不客气,看书的时候遇到别的问题也欢迎来这里探讨。

from rpabook.

Related Issues (2)

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.