简体   繁体   English

Drupal 网络表单报告

[英]Drupal Webform Report

I have deleted one of my content from my Drupal site of WEB form content type.我已从 WEB 表单内容类型的 Drupal 站点中删除了我的一个内容。

Now I need to retrieve its report.现在我需要检索它的报告。

Please guide me on how to retrieve the report or database of a deleted web form.请指导我如何检索已删除的 web 表单的报告或数据库。

Thanks in advance,提前致谢,

Anamika.安娜米卡。

EDIT: Assumption that this is about Drupal 8 since this is not mentioned in the OP's question.编辑:假设这是关于 Drupal 8 因为这在 OP 的问题中没有提到。

I am afraid you can't retrieve data from your webform once it's deleted.恐怕一旦删除,您就无法从网络表单中检索数据。 When you deleted the webform you expliytidly confirmed that you're okay with the deletion and all its related data.当您删除网络表单时,您明确确认您可以接受删除及其所有相关数据。

在此处输入图像描述

If you happen to have a database backup, there is some hope to retrieve the data.如果您碰巧有数据库备份,则有一些希望检索数据。 Webform data is spread over multiple tables, here are the most important ones: Webform 数据分布在多个表中,以下是最重要的表:

  • webform : List of all your webforms and their ID webform : 所有网络表单及其 ID 的列表
  • webform_submission : List of all submissions (1 line per submission) webform_submission : 所有提交的列表(每个提交 1 行)
  • webform_submission_data : List of all your fields & values for a submission webform_submission_data :提交的所有字段和值的列表

So if you have a database backup, you can probably retrieve all the sid (submission id's) from webform_submission for the deleted webform and then retrieve all the data then in the webform_submission_data table.因此,如果您有数据库备份,您可能可以从webform_submission中为已删除的 webform 检索所有sid (提交 id),然后在webform_submission_data表中检索所有数据。

If you don't have any kind of database back-up, I am afraid your data is lost forever.如果您没有任何类型的数据库备份,恐怕您的数据将永远丢失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM