[Vtigercrm-developers] uploading documents via web service but missing parentid

Joe Bordes joe at tsolucio.com
Wed Sep 26 06:54:49 PDT 2012


It is a many to many relation saved in _crmentityrel
You just go to the +info tab of any module and select the document you 
want to have related. Go to any other and repeat the task.

The "correct" solution to your proposal is to accept the parentid (or 
similar) in the webservice and insert the relation into _crmentityrel

Joe
TSolucio


On 26/09/12 15:28, Adam Heinz wrote:
> Interesting.  I did notice that the primary key for vtiger_senotesrel
> was crmid+notesid, but even after going through the code and
> demo.vtiger.com a second time, I don't see any user interface for
> relating a document to a second entity.  What am I missing?
>
> On Wed, Sep 26, 2012 at 1:11 AM, Vikas Jain <vikas at vtiger.com> wrote:
>> By adding a parent field you will be limiting Documents to be related to
>> only one record at any point.
>> In the 5.0.4 version i guess we had a similar parent field which was removed
>> to achieve many-many
>> relationship with Documents. I think the solution for this is to introduce
>> webservice API to relate any
>> record to any other record in the crm.
> _______________________________________________
> http://www.vtiger.com/



More information about the vtigercrm-developers mailing list