How to attach a File to a Contact?











up vote
2
down vote

favorite












One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?



Then, if the file is an image (jpg or png, ...) how to display it ?



(I am using CiviCRM/Drupal + Webform + Views)










share|improve this question






















  • Where do you want the image to be displayed?
    – petednz - fuzion
    8 hours ago















up vote
2
down vote

favorite












One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?



Then, if the file is an image (jpg or png, ...) how to display it ?



(I am using CiviCRM/Drupal + Webform + Views)










share|improve this question






















  • Where do you want the image to be displayed?
    – petednz - fuzion
    8 hours ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite











One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?



Then, if the file is an image (jpg or png, ...) how to display it ?



(I am using CiviCRM/Drupal + Webform + Views)










share|improve this question













One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?



Then, if the file is an image (jpg or png, ...) how to display it ?



(I am using CiviCRM/Drupal + Webform + Views)







files






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 15 hours ago









Jacques-Marie Moranne

863312




863312












  • Where do you want the image to be displayed?
    – petednz - fuzion
    8 hours ago


















  • Where do you want the image to be displayed?
    – petednz - fuzion
    8 hours ago
















Where do you want the image to be displayed?
– petednz - fuzion
8 hours ago




Where do you want the image to be displayed?
– petednz - fuzion
8 hours ago










2 Answers
2






active

oldest

votes

















up vote
3
down vote













A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.






share|improve this answer





















  • It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
    – petednz - fuzion
    8 hours ago


















up vote
2
down vote













One possibility is to use the Documents extension: https://civicrm.org/extensions/documents. This will allow you to add documents to contacts and show them on a separate tab.






share|improve this answer





















  • Totally recommend this module - has done wonders for us
    – petednz - fuzion
    8 hours ago










  • however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
    – petednz - fuzion
    8 hours ago













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "605"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27453%2fhow-to-attach-a-file-to-a-contact%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.






share|improve this answer





















  • It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
    – petednz - fuzion
    8 hours ago















up vote
3
down vote













A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.






share|improve this answer





















  • It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
    – petednz - fuzion
    8 hours ago













up vote
3
down vote










up vote
3
down vote









A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.






share|improve this answer












A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.







share|improve this answer












share|improve this answer



share|improve this answer










answered 14 hours ago









Aidan

5,554426




5,554426












  • It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
    – petednz - fuzion
    8 hours ago


















  • It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
    – petednz - fuzion
    8 hours ago
















It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
– petednz - fuzion
8 hours ago




It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
– petednz - fuzion
8 hours ago










up vote
2
down vote













One possibility is to use the Documents extension: https://civicrm.org/extensions/documents. This will allow you to add documents to contacts and show them on a separate tab.






share|improve this answer





















  • Totally recommend this module - has done wonders for us
    – petednz - fuzion
    8 hours ago










  • however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
    – petednz - fuzion
    8 hours ago

















up vote
2
down vote













One possibility is to use the Documents extension: https://civicrm.org/extensions/documents. This will allow you to add documents to contacts and show them on a separate tab.






share|improve this answer





















  • Totally recommend this module - has done wonders for us
    – petednz - fuzion
    8 hours ago










  • however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
    – petednz - fuzion
    8 hours ago















up vote
2
down vote










up vote
2
down vote









One possibility is to use the Documents extension: https://civicrm.org/extensions/documents. This will allow you to add documents to contacts and show them on a separate tab.






share|improve this answer












One possibility is to use the Documents extension: https://civicrm.org/extensions/documents. This will allow you to add documents to contacts and show them on a separate tab.







share|improve this answer












share|improve this answer



share|improve this answer










answered 15 hours ago









ErikH - CiviCooP

8,377519




8,377519












  • Totally recommend this module - has done wonders for us
    – petednz - fuzion
    8 hours ago










  • however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
    – petednz - fuzion
    8 hours ago




















  • Totally recommend this module - has done wonders for us
    – petednz - fuzion
    8 hours ago










  • however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
    – petednz - fuzion
    8 hours ago


















Totally recommend this module - has done wonders for us
– petednz - fuzion
8 hours ago




Totally recommend this module - has done wonders for us
– petednz - fuzion
8 hours ago












however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
– petednz - fuzion
8 hours ago






however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
– petednz - fuzion
8 hours ago




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27453%2fhow-to-attach-a-file-to-a-contact%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕