Comments (3)
我刚刚照着书本的步骤徒手搞了一个项目,用最新的UiPath Studio Pro。你看看For Each
活动的Type Argument
属性现在是不是Object
,如果是的话,你改为Newtonsoft.Json.Linq.JObject
应该就可以了。
原因是,For Each
活动的item
变量如果没有选择默认是Object
类型,但Results
集合中的元素实际上是Newtonsoft.Json.Linq.JObject
类型,Option Strict Off
的时候允许在声明类型为Object
的item
上使用Newtonsoft.Json.Linq.JObject
的方法,Option Strict On
的时候就必须把item
变量设为正确的类型才能使用。我估计写书的时候UiPath使用Option Strict Off
,现在使用Option Strict On
。这样做的原因应该是防止类型不安全。
另外,如果你打算在正式的流程上用OCR,你可以看看云可扩展OCR活动包。
from rpabook.
from rpabook.
不客气,看书的时候遇到别的问题也欢迎来这里探讨。
from rpabook.
Related Issues (2)
- RPA 开发与应用 发行了没有?没有找到啊。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpabook.