Community
Showing results for 
Search instead for 
Do you mean 
Reply

Feature request for Note, Histories and Relations

Bronze Super Contributor
Posts: 1,231
Country: USA

Feature request for Note, Histories and Relations

Feature request to get a Note, history or relations from a GUID.

 

‘ VB 
Dim myNote As Act.Framework.Notes.Note
myNote = Me.HostFramework.Notes.GetNotes(MyGuid)

// C# Act.Framework.Notes.Note myNote;
myNote = Me.HostFramework.Notes.GetNotes(MyGuid);

//Or even using a sort/filter parameters would be great
Dim myNote As Act.Framework.Notes.Note
myNote = Me.HostFramework.Notes.GetNotes(mySortCriteria, myFilterCriteria)

I can get the record from the OLEDB reader but I would like to update in the UI using the SDK.  Is there a way to convert a datarow into a act.framework.notes.note?  I could not find anything in the UINoteManager or uiHistoryManager.

 

Thanks

-- Jim Durkin

Copper Super Contributor
Posts: 112
Country: Australia

Re: Feature request for Note, Histories and Relations

does this help?

 

 

        Dim n As Act.Framework.Notes.Note
        Dim nl As Act.Framework.Notes.NoteList
        Dim nm As Act.Framework.Notes.NoteManager
        nl = nm.GetNotes(sortCriteria, Contact)
        n = nl(index)
        n.NoteText = "New text"
        n.Update()

 

 

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Feature request for Note, Histories and Relations

[ Edited ]

Not exactly because that function returns all the notes for a specific contact. I would like to get a single note or NoteList based on the a guid only not knowing the contact..  Something like you can do with Contacts, Company, Group and Opportunities using just the guid.

 

Dim contactlist As Act.Framework.Contacts.ContactList 
contactlist = Me.HostFramework.Contacts.GetContacts(Me.SortCriteriaACT, Me.FilterCriteriaACT)
contactlist = Me.HostFramework.Contacts.GetContactsByID(Me.SortCriteriaACT, myNoteGuidKeys)

 

 

Thanks

-- Jim Durkin

Employee
Posts: 1,163
Country: USA

Re: Feature request for Note, Histories and Relations

Great feature request.

 

There is currently a GetNote() method that accepts a single Guid as a parameter, but it accepts a entityID instead of a noteID.

Matthew Wood
Act! SDK Support
Community Moderator