get boardID in getData function