Controversial plans to bring in a "named person" for every child in Scotland have been delayed for a second time, the Scottish Government has announced.
Deputy first minister and education secretary John Swinney said the government is proposing new laws on how and when information on youngsters should be shared.
The draft legislation would be brought before Holyrood before the end of June.
Swinney told MSPs on Tuesday: "I intend to introduce the bill ahead of the summer recess and I will work with parliament to agree a timetable to enable commencement in 2018."
The Named Person scheme will appoint a single point of contact, such as a teacher or health visitor, to look out for the welfare of all children up to the age of 18.
The announcement of new legislation comes after campaigners against the scheme brought a successful challenge to the UK Supreme Court.
Judges ruled last year that elements of the policy were "incompatible" with the right to privacy and family life as set out in the European Convention on Human Rights (ECHR).
The Named Person scheme was introduced as part of the Children and Young People Scotland Act of 2014, with Swinney confirming parts of this would have to be replaced.
In a statement to Holyrood on Tuesday, the education secretary said this approach would require "Name Person service providers and others involved with children and young people to consider whether sharing information would promote, support or safeguard the well-being of the child or young person".
They will have to consider whether or not sharing information would be compatible with data protection law, human rights and the law of confidentiality, he added.
Swinney said: "Only if information can be shared consistently within these legal constraints will there be a power to share it, and the legislation will make this clear."
He stressed the Scottish Government was still "absolutely committed" to the policy.
The deputy first minister insisted: "This government listened to parents. The Named Person service provides a point of contact and support who works in partnership with parents and families to help them navigate the wider system.
"Parents told us that they don't always get the support their families need, so they have to tell their stories over and over.
"Parents also told us they want the Named Person service to work in partnership with them and that having a say in the sharing of information about their families matters to them."
New guidance will also be drawn up which will "assist practitioners to take a systematic approach on information sharing in appropriate cases", Swinney said.
The education secretary claimed there had been a lot of "misinformation" about the Named Person scheme as he said there would be a public information campaign to make sure children, young people and parents know their rights.
He said: "The approach I have set out today seeks to bring consistency, clarity and coherence to the practice of sharing information about children and young people's well-being across Scotland."
Conservative education spokeswoman Liz Smith asked Swinney why the scheme was going ahead and not being abolished entirely.
"Every single opinion poll that has been conducted on the Named Person policy shows that a majority of the public and a very large number of the practitioners who you mentioned in your statement do not want named persons," she said.
Smith also asked if Swinney was concerned about rising vacancy rates among health visitors, who will be a key part of the scheme.
"Is this not a real problem for the implementation of the policy?" she asked.
Labour's education spokesman Iain Gray said: "Can I ask him once again to consider using the legislative process on which he has now embarked to remove 16 and 17-year-olds from the scope of the legislation in order to help re-establish the credibility of the policy."
Liberal Democrat MSP Tavish Scott said parental concern was significant and still needed to be adequately addressed.
"Will ... the explicit duty that he outlined to parliament this afternoon guard against the invasion of parental and family privacy that is of such concern, and is he minded to note that that is potentially only likely to be tested in court?" he asked.
Swinney said: "I think anyone looking at my statement will, I hope, come to the conclusion that I have recognised the importance of clarifying the issue of consent around the sharing of information.
"The information will be shared with consent in all but the most exceptional of circumstances."