Default Business Network can be changed on hyperledger Composer Playground installed locally?
Date : March 29 2020, 07:55 AM
this will help This limitation has been removed in version 0.12.0. Please upgrade to v0.12.0 or higher and you can connect to any deployed business network using the new ID Card feature. Video here: https://www.youtube.com/watch?v=VTX-9VyO6OU
|
Cannot download card from Hyperledger Composer Playground
Date : March 29 2020, 07:55 AM
it should still fix some issue I'm trying to export my Network Admin card from the Playground UI, but the export icon is disabled. In addition, I see the following error in my Chrome console: , This is the answer I got on GitHub:
|
Hyperledger Composer Playground on wrong version
Date : March 29 2020, 07:55 AM
I wish this help you that is unusual - did you do an npm uninstall -g composer-playground (global uninstall) first ? Because I just checked this in Linux 16.04 LTS and it comes up with the right version? npm uninstall -g composer-playground
npm install -g composer-playground
npm ls -g --depth==0 |grep playground
|
Hyperledger Composer Playground Query
Date : March 29 2020, 07:55 AM
I wish this help you as Pronoy says, you can use REST APIs. Alternative is to set up a transaction, that calls a defined query (in queries,qry) - purely for testing and logging messages etc. Eg. return query('selectPerson', {firstName: 'joe'} )
.then(function (results) {
for (var n = 0; n < results.length; n++) {
var person = results[n];
console.log('person is ' + (n+1) + ', object is ' + person);
console.log('person identifier is ' + person.getIdentifier());
return personRegistry.get(person.getIdentifier())
.then(function (personRecord) {
console.log('object is ' + personRecord); // all good
console.log('identifier is ' + person.getIdentifier() );
})
} // for
}) //function
|
Hyperledger composer rest api add data not found in composer playground
Tag : rest , By : user143038
Date : March 29 2020, 07:55 AM
may help you . I think there is a problem with your starting a business-network or upgrading a business-network. please ensure that your started network version same as composer-rest-server API version shown on http://localhost:3000/explorer/. If there is an issue then you can do ./stopFabric.sh. and then start your business-network again.
|