Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUID of created note on business notebook is null #44

Open
cathandnya opened this issue Jan 31, 2014 · 3 comments
Open

GUID of created note on business notebook is null #44

cathandnya opened this issue Jan 31, 2014 · 3 comments

Comments

@cathandnya
Copy link

When a note is created on business notebook, the guid of result note is always null.
How do I get the guid of created note?

The code is below:

session.getClientFactory().createBusinessNoteStoreClientAsync(new OnClientCallback<AsyncBusinessNoteStoreClient>() {
    @Override
    public void onSuccess(AsyncBusinessNoteStoreClient bNoteStore) {
        if (bNoteStore == null) {
            // failed
        } else {
            bNoteStore.createNoteAsync(note, nb, new OnClientCallback<Note>() {
                @Override
                public void onSuccess(Note data) {
                    String guid = data.getGuid();
                    /* guid is null!! but the note is created */
                }
                @Override
                public void onException(Exception exception) {
                    // failed
                }
            });
        }                                               
    }
    @Override
    public void onException(Exception ex) {
        // failed   
    }
});
@15768737340
Copy link

Dict/1204

@vRallev
Copy link
Contributor

vRallev commented May 29, 2015

Could you update the SDK to 2.0.0 and try again? The issue should be fixed.

@charsfamily1106
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants