在 Forge WorkItem 中嵌入 JSON 时,json 文件的名称是什么?
When embedding JSON in a Forge WorkItem, what specifies the name of the json file?
我正在跟进 here, under Additional notes, Input arguments:Embedded JSON, as well as the CountItApp code here(我假设这是第一个 link 引用的内容,但也许这是一个糟糕的假设?)
无论如何,我在 CountItApp\Main.cs, it is looking for a file called "params.json", but I'm having trouble locating where that name was specified when submitting the WorkItem. Is embedded JSON always called params.json, or is it specified somewhere that I'm missing? Or does it use the value specified in the "post" for the Activity 中看到了这一点(根据 InventorParams 在那个 link 的 Activity 示例)?
params.json 的名称在 Activity 上定义。当您调用 Workitem 时,嵌入的 JSON 作为该参数传递并以定义的名称保存。
我正在跟进 here, under Additional notes, Input arguments:Embedded JSON, as well as the CountItApp code here(我假设这是第一个 link 引用的内容,但也许这是一个糟糕的假设?)
无论如何,我在 CountItApp\Main.cs, it is looking for a file called "params.json", but I'm having trouble locating where that name was specified when submitting the WorkItem. Is embedded JSON always called params.json, or is it specified somewhere that I'm missing? Or does it use the value specified in the "post" for the Activity 中看到了这一点(根据 InventorParams 在那个 link 的 Activity 示例)?
params.json 的名称在 Activity 上定义。当您调用 Workitem 时,嵌入的 JSON 作为该参数传递并以定义的名称保存。