Posts that Tyler Bird is monitoring

Subscribe to Posts that Tyler Bird is monitoring 28 posts found

Pages: 1 2

Nov 17, 2008
Avatar inka 6 posts

Topic: Tags API

fixed the code layout. sorry (preview would be nice at the forum)

class Person < Subject
  include Pagination    
  def self.find_all_across_pages_since(time)
    find_all_across_pages(:params => { :since => time.to_s(:db).gsub(/[^\d]/, '') })
  end    
  def company
    Company.find(company_id) if company_id
  end    
  def name
    "#{first_name} #{last_name}".strip
  end
  def tag(tag_name)
    self.post(:tags, :name => tag_name) unless tag_name.blank?
    true
  end
  def tags
    @connection ||= ActiveResource::Connection.new(HIGHRISE_URL, ActiveResource::Formats[:html])
    html = @connection.get("/people/#{self.id}")
    require 'hpricot'
    #require 'open-uri'
    # html = open("#{HIGHRISE_URL}/people/#{self.id}") # this has SSL problems
    @doc ||= Hpricot(html)
    tags = Array.new
    @doc.search("#show_tags a").each{ |a|
      tags << Highrise::Tag.new(a['href'].gsub(/.*\//, ''), a.inner_html)
      }
    tags
  end
  def untag(tag_name)
    to_delete = self.tags.find{|t| t.name==tag_name} unless tag_name.blank?
    self.delete("tags/#{to_delete.id}") unless to_delete.nil?
  end
end
class Tag
  attr_accessor :id, :name
  def initialize(id=nil, name=nil)
    self.id = id
    self.name = name
  end
end
 
Nov 17, 2008
Avatar inka 6 posts

Topic: Tags API

Hi,

just an example how i hacked the tagging stuff that we needed into the highrise.rb wrapper. Because a GET to
URL/people/123/tags gives the list of all tasks and not of that person, i take the html response of /people/123 and parse the tags by hand. The GET could also improved because of SSL issues I used a html format activeresource. Sure, there are better ways.

(Just a feature request for API extension: Please support the possibility to add an array of tags in the future.)

Greets from Berlin, inka

class Person < Subject
  include Pagination
end
def self.find_all_across_pages_since(time)
  find_all_across_pages(:params => { :since => time.to_s(:db).gsub(/[^\d]/, '') })
end
def company
  Company.find(company_id) if company_id
end
def name
  "#{first_name} #{last_name}".strip
end
  1. extension to make tagging work, it’s not supported via API yet def tag(tag_name) self.post(:tags, :name => tag_name) unless tag_name.blank? true end
def tags
  @connection ||= ActiveResource::Connection.new(HIGHRISE_URL, ActiveResource::Formats[:html])
  html = @connection.get("/people/#{self.id}")
  require 'hpricot'
  #require 'open-uri'
  # html = open("#{HIGHRISE_URL}/people/#{self.id}") # this has SSL problems
  @doc ||= Hpricot(html)
  tags = Array.new
  @doc.search("#show_tags a").each{ |a|
    tags << Highrise::Tag.new(a['href'].gsub(/.*\//, ''), a.inner_html)
    }
  tags
end
def untag(tag_name)
  to_delete = self.tags.find{|t| t.name==tag_name} unless tag_name.blank?
  self.delete("tags/#{to_delete.id}") unless to_delete.nil?
end
class Tag
  attr_accessor :id, :name
  def initialize(id=nil, name=nil)
    self.id = id
    self.name = name
  end
end
 
Nov 1, 2008
Avatar Jean-Christo... 1 post

Topic: Tags API

I would also need an API implementation for tagging contacts. Work around is ok, but some real API-functions would be nice.

 
Feb 18, 2008
Avatar cbartlett 2 posts

Topic: Tags API

For those using Ruby, check out my blog post on how I added the tagging functionality to people. Thanks to the above tips, I discovered it’s relatively trivial.

 
Feb 15, 2008
Avatar netramedia 2 posts

Topic: Tags API

David and Crew

We are working on integrating highrise with our websites as part of the conversion process (contacts would be automatically added with a case and task etc)

Obviously adding tags would greatly help with managing contacts that are added.

Is there any sign of a ‘tag api’ or even somthing undocumented we could use to add tags to contacts?

Cheers Guys

Warren

 
Feb 5, 2008
Avatar Mary Adams 3 posts

Topic: Tags API

I agree. It’s the only thing holding back my company moving our 3,000 contacts into HR.

 
Feb 3, 2008
Avatar Grayson Steb... 7 posts

Topic: Tags API

I would like to stress the importance of this functionality one last time: it is critical for anyone moving from another contact management application to Highrise. If its not in HR itself it should at least be working in the API.

 
Feb 1, 2008
Avatar Jason Forrest 3 posts

Topic: Tags API

Any update on Mass Tagging

 
Dec 7, 2007
Avatar Richard Haven 238 posts

Topic: Tags API

My contact management system <g> shows that I have mailed four (4) release notifications to you. Let’s try and figure out if I have the wrong address or your email system is trashing them.

Cheers

 
Dec 3, 2007
Avatar Andrew S 4 posts

Topic: Tags API

Richard, can you please send me a beta invita as well to staub at ticketleap.com? I requested by email but have not heard back. Thanks so much.

 
Nov 1, 2007
Avatar Travis R 3 posts

Topic: Tags API

I agree, this is pretty much a necessity. Mobivity hit the nail on the head, kind of pointless adding contacts through here if you can’t mark them as “leads” or whatever.

 
Oct 9, 2007
Avatar Richard Haven 238 posts

Topic: Tags API

My apologies: you did make it in, but I did not tag you correctly. Download information is on its way via email.

Cheers

 
Oct 4, 2007
Avatar Jeremy C 17 posts

Topic: Tags API

Richard, can you send a beta invite to jchrysler (at) gmail.com ? I believe I made a request via, email, but I never heard back from you. Thanks in advance.

 
Sep 25, 2007
Avatar danmiles 1 post

Topic: Tags API

I’d love to see more tag related API functionality.

Specifically>
  • Ability to add new people with one or more tags associated. If for not other reason and the help us keep track of which system added the person.
  • Ability to add or remove tags from a person. We have a couple of systems we’d like to sync with Highrise and this would be valuable to update the status of the contact as the status changes in the external systems. eg. addTagToPerson(“current”), removeTagFromPerson(“lead”)

just some thoughts that if implemented would allow me to upgrade from the trial account..

 
Aug 20, 2007
Avatar Otto 4 posts

Topic: Tags API

and then delete the tag like this:
curl -u xxx:xxx -X DELETE http://xxx.highrisehq.com/parties/xxx/tags/id_of_tag

 
Jun 21, 2007
Avatar Derick 138 posts

Topic: Tags API

Any chance the tag API could include a count of the number of objects with that tag (to aid in generating a tag cloud). The alternative would be to get the list of tags, then run a query on each one & count the results, but that would suck up a lot of bandwidth etc. with each refresh.

 
Jun 21, 2007
Avatar kuty 15 posts

Topic: Tags API

The post by OD works for setting a contact’s tag. This is a great start. I would love to know how to remove a tag too. And in an ideal world, I would like to be able to set a date for when the tag was added as that can be great information for reporting.

 
Jun 19, 2007
Avatar Grayson Steb... 7 posts

Topic: Tags API

I’d also like an update on this. Still eagerly waiting for a solution :)

 
Jun 12, 2007
Avatar kuty 15 posts

Topic: Tags API

Anything new on importing tags?

 
May 23, 2007
Avatar OD 14 posts

Topic: Tags API

Or even more simple:

curl -u xxx:xxx -d ‘name=name_of_tag’ http://xxx.highrisehq.com/parties/xxx/tags

 
May 23, 2007
Avatar woodhull 2 posts

Topic: Tags API

This works for me:

curl -u woodhull:X -d “name=name_of_tag” -H ‘X-Requested-With: XMLHttpRequest’ -H ‘Content-Type: application/x-www-form-urlencoded; charset=UTF-8’ http://sample.highrisehq.com/parties/946496/tags

Where X is your password, name_of_tag is the tag and the url includes your contact id and highrise site.
 
May 23, 2007
Avatar KansasNate 8 posts

Topic: Tags API

This a an absolute need for my organization. We are currently using another CRM provider which has an inferior UI. Highrise is absolutely perfect from a UI standpoint.

We have over 6,000 contacts that will need to be imported into the system, and they all are currently categorized. Being able to assign tags – either through the CSV import or thorugh the API – is an absolute necessity.

Thanks!

 
May 22, 2007
Avatar caitlin 5 posts

Topic: Tags API

I agree. We desperately need tags to be able to be pre-defined upon import/creation of new contact records.

I’m looking forward to seeing this addition soon! =)

Thanks 37 team.

 
May 22, 2007
Avatar Mobivity 8 posts

Topic: Tags API

This is a real shame. Without being able to add tags with the create, it is pointless. We need to tag them as new so new contacts can be acted on. Otherwise they just get lost in the stream never to be seen again.

Hope we get this soon.

 
May 16, 2007
Avatar Grayson Steb... 7 posts

Topic: Tags API

I’d like to put in a vote for this being added to the API ;) It’d be extremely useful for importing contacts.

Next page

Pages: 1 2